hi these are disabled for now don't give me bullshit thanks

This commit is contained in:
Ivan 2019-11-16 22:28:10 -05:00
parent 8d0540dc66
commit b2305a918b

View File

@ -110,6 +110,13 @@ public class BlockBlocker extends FreedomService
event.setCancelled(true); event.setCancelled(true);
break; break;
} }
case JUKEBOX:
{
player.sendMessage(ChatColor.GRAY + "Jukeboxes are disabled.");
player.getInventory().setItem(player.getInventory().getHeldItemSlot(), new ItemStack(Material.COOKIE, 1));
event.setCancelled(true);
break;
}
case SPAWNER: case SPAWNER:
player.sendMessage(ChatColor.GRAY + "Spawners are disabled."); player.sendMessage(ChatColor.GRAY + "Spawners are disabled.");
player.getInventory().setItem(player.getInventory().getHeldItemSlot(), new ItemStack(Material.COOKIE, 1)); player.getInventory().setItem(player.getInventory().getHeldItemSlot(), new ItemStack(Material.COOKIE, 1));