Importing Bukkit is usually bad.

This commit is contained in:
GJ
2013-03-10 15:07:07 -04:00
parent 2cef6700c7
commit c0b4a33346
8 changed files with 14 additions and 19 deletions

View File

@@ -8,7 +8,6 @@ import java.util.List;
import net.shatteredlands.shatt.backup.ZipLibrary;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
@@ -156,7 +155,7 @@ public class mcMMO extends JavaPlugin {
getLogger().info("Please do not replace the mcMMO jar while the server is running.");
}
Bukkit.getPluginManager().disablePlugin(this);
getServer().getPluginManager().disablePlugin(this);
}
}