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);
|
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));
|
||||||
|
Loading…
Reference in New Issue
Block a user