sapling fix [THIS NEEDS TO GET PUT ONTO CLANS/ALPHA]
This commit is contained in:
parent
f86262dc0e
commit
76dba421b4
@ -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