Experimental TNT protection

This commit is contained in:
boy0001
2015-03-28 01:58:08 +11:00
parent 348fb9cb1b
commit 1aac1f40da
2 changed files with 121 additions and 0 deletions

View File

@ -35,6 +35,7 @@ import com.intellectualcrafters.plot.listeners.InventoryListener;
import com.intellectualcrafters.plot.listeners.PlayerEvents;
import com.intellectualcrafters.plot.listeners.PlayerEvents_1_8;
import com.intellectualcrafters.plot.listeners.PlotPlusListener;
import com.intellectualcrafters.plot.listeners.TNTListener;
import com.intellectualcrafters.plot.listeners.WorldEditListener;
import com.intellectualcrafters.plot.listeners.WorldEvents;
import com.intellectualcrafters.plot.titles.AbstractTitle;
@ -109,6 +110,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
Bukkit.getServer().unloadWorld(world, true);
}
}
getServer().getPluginManager().registerEvents(new TNTListener(), this);
}
@Override