Fixed spam related to minecart damage.

For real this time, I hope.  :)
This commit is contained in:
ryanhamshire committed 2014-12-08 18:59:57 -08:00
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)