mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-02 11:11:58 +01:00
Fix water/lava bucket bug with mobs
This commit is contained in:
parent
b9daf6aaa5
commit
af5a86c48c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user