Merge branch 'master' of https://github.com/ryanhamshire/GriefPrevention
This commit is contained in:
commit
ce66ee80a3
|
|
@ -1152,8 +1152,6 @@ class PlayerEventHandler implements Listener
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
if(cause == TeleportCause.ENDER_PEARL)
|
if(cause == TeleportCause.ENDER_PEARL)
|
||||||
player.getInventory().addItem(new ItemStack(Material.ENDER_PEARL));
|
player.getInventory().addItem(new ItemStack(Material.ENDER_PEARL));
|
||||||
else
|
|
||||||
player.getInventory().addItem(new ItemStack(Material.CHORUS_FRUIT));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user