disallow sapling in dispensers (grrr working in two different branches is really strange)
This commit is contained in:
parent
b5f04011e5
commit
88c1391ba2
@ -514,6 +514,11 @@ public class Gameplay extends MiniPlugin
|
|||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (event.getItem().getType() == Material.SAPLING)
|
||||||
|
{
|
||||||
|
event.setCancelled(true);
|
||||||
|
}
|
||||||
|
|
||||||
if (event.getItem().getType() == Material.TNT)
|
if (event.getItem().getType() == Material.TNT)
|
||||||
{
|
{
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user