Fixed spam related to minecart damage.
For real this time, I hope. :)
This commit is contained in:
parent
f57fe68d7d
commit
0b131e35a6
|
|
@ -614,8 +614,9 @@ class EntityEventHandler implements Listener
|
|||
if(claim != null)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if(damageSource.getType() == EntityType.PLAYER)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user