sapling fix
This commit is contained in:
parent
7860ca24c8
commit
d10266c4d1
@ -446,10 +446,10 @@ public class Gameplay extends MiniPlugin
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void disableSaplings(BlockPlaceEvent event)
|
||||
{
|
||||
if (!event.getBlockReplacedState().getType().equals(Material.SAPLING))
|
||||
if (!event.getItemInHand().getType().equals(Material.SAPLING))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user