mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 09:37:37 +00:00
remove a part that doesnt work anyways
lol
This commit is contained in:
parent
fa75ea945d
commit
0187b4ef84
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user