disallow sapling in dispensers (grrr working in two different branches is really strange)

This commit is contained in:
NewGarbo 2016-01-28 13:30:16 +00:00
parent b5f04011e5
commit 88c1391ba2

View File

@ -514,6 +514,11 @@ public class Gameplay extends MiniPlugin
event.setCancelled(true);
}
if (event.getItem().getType() == Material.SAPLING)
{
event.setCancelled(true);
}
if (event.getItem().getType() == Material.TNT)
{
event.setCancelled(true);