annoying shit quick fix

This commit is contained in:
Ivan 2019-07-29 22:27:04 -04:00 committed by GitHub
parent 6dcccac2b0
commit b4dd877f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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