Fixed spam related to minecart damage.

For real this time, I hope.  :)
This commit is contained in:
ryanhamshire 2014-12-08 18:59:57 -08:00
parent f57fe68d7d
commit 0b131e35a6

View File

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