mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fix water/lava bucket bug with mobs
This commit is contained in:
parent
b9daf6aaa5
commit
af5a86c48c
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue