PlayerListener cleanup

This commit is contained in:
GJ
2013-01-24 14:19:26 -05:00
parent 9dac898c1c
commit 76a987e1e0
13 changed files with 209 additions and 132 deletions

View File

@@ -119,6 +119,9 @@ public class mcMMO extends JavaPlugin {
//Spout Check
public static boolean spoutEnabled;
//XP Event Check
private boolean xpEventEnabled = false;
/**
* Things to be run when the plugin is enabled.
*/
@@ -560,5 +563,13 @@ public class mcMMO extends JavaPlugin {
public static Database getPlayerDatabase() {
return database;
}
public boolean isXPEventEnabled() {
return xpEventEnabled;
}
public void setXPEventEnabled(boolean enabled) {
this.xpEventEnabled = enabled;
}
}