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