|
@@ -14,7 +14,7 @@ import com.gmail.nossr50.util.Misc;
|
|
public class XprateCommand implements CommandExecutor {
|
|
public class XprateCommand implements CommandExecutor {
|
|
private final mcMMO plugin;
|
|
private final mcMMO plugin;
|
|
private static int oldrate = Config.getInstance().xpGainMultiplier;
|
|
private static int oldrate = Config.getInstance().xpGainMultiplier;
|
|
- public static boolean xpevent = false;
|
|
|
|
|
|
+ private static boolean xpevent = false;
|
|
|
|
|
|
public XprateCommand (mcMMO plugin) {
|
|
public XprateCommand (mcMMO plugin) {
|
|
this.plugin = plugin;
|
|
this.plugin = plugin;
|
|
@@ -90,4 +90,8 @@ public class XprateCommand implements CommandExecutor {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public static boolean isXpEventRunning() {
|
|
|
|
+ return xpevent;
|
|
|
|
+ }
|
|
}
|
|
}
|