diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/gameplay/Gameplay.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/gameplay/Gameplay.java index d8a0022c9..ad8a9d59e 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/gameplay/Gameplay.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/gameplay/Gameplay.java @@ -481,29 +481,29 @@ public class Gameplay extends MiniPlugin event.setCancelled(true); } - @EventHandler - public void onBlockPlace(BlockPlaceEvent event) - { - Location location = event.getBlock().getLocation(); - - if (_clansManager.getClanUtility().isNearAdminClaim(location)) - { - event.setCancelled(true); - UtilPlayer.message(event.getPlayer(), F.main("Admin", "You cannot place blocks near admin territories!")); - } - } - - @EventHandler - public void onBlockBreak(BlockBreakEvent event) - { - Location location = event.getBlock().getLocation(); - - if (_clansManager.getClanUtility().isNearAdminClaim(location)) - { - event.setCancelled(true); - UtilPlayer.message(event.getPlayer(), F.main("Admin", "You cannot break blocks near admin territories!")); - } - } +// @EventHandler +// public void onBlockPlace(BlockPlaceEvent event) +// { +// Location location = event.getBlock().getLocation(); +// +// if (_clansManager.getClanUtility().isNearAdminClaim(location)) +// { +// event.setCancelled(true); +// UtilPlayer.message(event.getPlayer(), F.main("Admin", "You cannot place blocks near admin territories!")); +// } +// } +// +// @EventHandler +// public void onBlockBreak(BlockBreakEvent event) +// { +// Location location = event.getBlock().getLocation(); +// +// if (_clansManager.getClanUtility().isNearAdminClaim(location)) +// { +// event.setCancelled(true); +// UtilPlayer.message(event.getPlayer(), F.main("Admin", "You cannot break blocks near admin territories!")); +// } +// } /* @EventHandler (priority = EventPriority.HIGHEST)