sapling stuff messed up oops
This commit is contained in:
parent
6638562866
commit
bf6f1a1701
@ -447,7 +447,7 @@ public class Gameplay extends MiniPlugin
|
|||||||
@EventHandler(priority = EventPriority.LOWEST)
|
@EventHandler(priority = EventPriority.LOWEST)
|
||||||
public void disableSaplings(BlockPlaceEvent event)
|
public void disableSaplings(BlockPlaceEvent event)
|
||||||
{
|
{
|
||||||
if (event.getBlockReplacedState().getType().equals(Material.SAPLING))
|
if (!event.getBlockReplacedState().getType().equals(Material.SAPLING))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user