remove a part that doesnt work anyways

lol
This commit is contained in:
9378062 2022-04-07 09:47:11 -04:00
parent fa75ea945d
commit 0187b4ef84

View File

@ -32,8 +32,10 @@ public class SpawnListener extends PlexListener
Block block = event.getBlock(); Block block = event.getBlock();
Location blockLoc = block.getLocation().add(0.5,0.5,0.5).add(((Directional) block.getBlockData()).getFacing().getDirection().multiply(0.8)); Location blockLoc = block.getLocation().add(0.5,0.5,0.5).add(((Directional) block.getBlockData()).getFacing().getDirection().multiply(0.8));
event.setCancelled(true); event.setCancelled(true);
/*
item.setAmount(item.getAmount() - 1); item.setAmount(item.getAmount() - 1);
event.setItem(item); event.setItem(item);
*/
EntityType eggType = spawnEggToEntityType(itemType); EntityType eggType = spawnEggToEntityType(itemType);
if (eggType != null) if (eggType != null)
{ {