sapling stuff messed up oops

This commit is contained in:
NewGarbo 2016-01-22 15:28:12 +00:00
parent 6638562866
commit bf6f1a1701
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }