Fix the race condition when protecting blocks, fixes #34

This commit is contained in:
graywolf336
2015-01-26 02:00:49 -06:00
parent 2c85300e3b
commit 7fd0a8ddc7
3 changed files with 24 additions and 62 deletions

View File

@ -14,7 +14,6 @@ import com.graywolf336.jail.command.JailHandler;
import com.graywolf336.jail.enums.Lang;
import com.graywolf336.jail.enums.Settings;
import com.graywolf336.jail.legacy.LegacyManager;
import com.graywolf336.jail.listeners.BlockListener;
import com.graywolf336.jail.listeners.CacheListener;
import com.graywolf336.jail.listeners.CellSignListener;
import com.graywolf336.jail.listeners.EntityListener;
@ -87,7 +86,6 @@ public class JailMain extends JavaPlugin {
pm = new PrisonerManager(this);
PluginManager plm = this.getServer().getPluginManager();
plm.registerEvents(new BlockListener(this), this);
plm.registerEvents(new CacheListener(this), this);
plm.registerEvents(new CellSignListener(this), this);
plm.registerEvents(new EntityListener(this), this);