Remove command filter.. we handle it with WorldGuard
This commit is contained in:
@@ -133,8 +133,11 @@ public class BlockHunt extends JavaPlugin implements Listener {
|
|||||||
new OnInventoryClickEvent(), this);
|
new OnInventoryClickEvent(), this);
|
||||||
getServer().getPluginManager().registerEvents(
|
getServer().getPluginManager().registerEvents(
|
||||||
new OnInventoryCloseEvent(), this);
|
new OnInventoryCloseEvent(), this);
|
||||||
getServer().getPluginManager().registerEvents(
|
|
||||||
new OnPlayerCommandPreprocessEvent(), this);
|
// Removed - This is handled by WorldGuard now.
|
||||||
|
// getServer().getPluginManager().registerEvents(
|
||||||
|
// new OnPlayerCommandPreprocessEvent(), this);
|
||||||
|
|
||||||
getServer().getPluginManager().registerEvents(
|
getServer().getPluginManager().registerEvents(
|
||||||
new OnPlayerDropItemEvent(), this);
|
new OnPlayerDropItemEvent(), this);
|
||||||
getServer().getPluginManager().registerEvents(
|
getServer().getPluginManager().registerEvents(
|
||||||
|
Reference in New Issue
Block a user