mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-12-29 04:57:37 +00:00
Removed old commented out code.
This commit is contained in:
parent
6b7a5d8d70
commit
5132bb6550
@ -260,23 +260,4 @@ public class TFM_BlockListener implements Listener
|
||||
{
|
||||
TFM_RollbackManager.blockUpdate(event.getPlayer(), event.getBlock());
|
||||
}
|
||||
// @EventHandler(priority = EventPriority.NORMAL)
|
||||
// public void onCommandBlockChangeEvent(CommandBlockChangeEvent event)
|
||||
// {
|
||||
// Player player = event.getPlayer();
|
||||
//
|
||||
// if (!TFM_SuperadminList.isUserSuperadmin(player))
|
||||
// {
|
||||
// TFM_Util.playerMsg(player, "You do not have permission to set Command Block commands.");
|
||||
// event.setCancelled(true);
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// if (!TFM_SuperadminList.isSeniorAdmin(player))
|
||||
// {
|
||||
// TFM_Util.playerMsg(player, "You do not have permission to set Command Block commands.");
|
||||
// event.setCancelled(true);
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user