Compile fix

This commit is contained in:
fullwall 2012-12-10 13:30:58 +08:00
parent c1672e9c8c
commit 121932b56e
1 changed files with 0 additions and 2 deletions

View File

@ -152,7 +152,6 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
Editor.leaveAll();
CitizensAPI.shutdown();
tearDownScripting();
// Don't bother with this part if MC versions are not compatible
if (compatible) {
saves.storeAll(npcRegistry);
@ -242,7 +241,6 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
}
private void registerScriptHelpers() {
setupScripting();
ScriptCompiler compiler = CitizensAPI.getScriptCompiler();
compiler.registerGlobalContextProvider(new EventRegistrar(this));
compiler.registerGlobalContextProvider(new ObjectProvider("plugin", this));