FINAL FIX

This commit is contained in:
Chiss 2014-08-10 00:13:04 +10:00
parent c95cf79aa6
commit 62cc422f42

View File

@ -74,7 +74,7 @@ public class BaconBrawl extends SoloGame
if (event.GetCause() == DamageCause.ENTITY_ATTACK || event.GetCause() == DamageCause.CUSTOM || event.GetCause() == DamageCause.PROJECTILE)
{
event.GetDamageeEntity().setHealth(event.GetDamageeEntity().getMaxHealth());
event.AddKnockback("Pig Wrestle", 1.5 + (System.currentTimeMillis() - GetStateTime() / 120000d));
event.AddKnockback("Pig Wrestle", 1.5 + ((System.currentTimeMillis() - GetStateTime()) / 120000d));
}
}
}