1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-06 14:46:32 +02:00

Fix water/lava bucket bug with mobs

This commit is contained in:
snowleo
2011-11-17 14:23:35 +01:00
parent 88b5b30d6d
commit 8852910c7a

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()