no tnt from dispensers

This commit is contained in:
NewGarbo 2016-01-27 20:58:36 +00:00
parent e68dea65e1
commit ceeeb3bc45

View File

@ -513,6 +513,11 @@ public class Gameplay extends MiniPlugin
{ {
event.setCancelled(true); event.setCancelled(true);
} }
if (event.getItem().getType() == Material.TNT)
{
event.setCancelled(true);
}
} }
// @EventHandler(priority = EventPriority.LOWEST) // @EventHandler(priority = EventPriority.LOWEST)