Fix water/lava bucket bug with mobs

This commit is contained in:
snowleo 2011-11-17 14:23:35 +01:00
parent b9daf6aaa5
commit af5a86c48c

View file

@ -25,10 +25,11 @@ public class EssentialsProtectPlayerListener extends PlayerListener
@Override
public void onPlayerInteract(final PlayerInteractEvent event)
{
if (event.isCancelled())
// Do not return if cancelled, because the interact event has 2 cancelled states.
/*if (event.isCancelled())
{
return;
}
}*/
final User user = ess.getUser(event.getPlayer());
if (event.hasItem()