mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
hi these are disabled for now don't give me bullshit thanks
This commit is contained in:
parent
8d0540dc66
commit
b2305a918b
@ -110,6 +110,13 @@ public class BlockBlocker extends FreedomService
|
||||
event.setCancelled(true);
|
||||
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:
|
||||
player.sendMessage(ChatColor.GRAY + "Spawners are disabled.");
|
||||
player.getInventory().setItem(player.getInventory().getHeldItemSlot(), new ItemStack(Material.COOKIE, 1));
|
||||
|
Loading…
Reference in New Issue
Block a user