players cannot grab slime :O

This commit is contained in:
Mini-Chiss 2015-08-12 14:41:33 +02:00
parent d1302e8dc3
commit fcfb2559b8

View File

@ -493,6 +493,9 @@ public class SoccerManager extends MiniPlugin
{
if (_active.contains(event.getPlayer()))
event.setCancelled(true);
if (_ball != null && event.getRightClicked().equals(_ball))
event.setCancelled(true);
}
@EventHandler