Fixed multiblock exploit

This commit is contained in:
Anuken
2019-04-04 23:53:51 -04:00
parent 45d157fe3f
commit 330820062f
2 changed files with 4 additions and 2 deletions
@@ -222,6 +222,8 @@ public class Damage{
if(scaledDamage <= 0 || tile == null) continue;
tile = tile.target();
//apply damage to entity if needed
if(tile.entity != null && tile.getTeam() != team){
int health = (int)tile.entity.health;