FINAL FIX
This commit is contained in:
parent
c95cf79aa6
commit
62cc422f42
@ -74,7 +74,7 @@ public class BaconBrawl extends SoloGame
|
|||||||
if (event.GetCause() == DamageCause.ENTITY_ATTACK || event.GetCause() == DamageCause.CUSTOM || event.GetCause() == DamageCause.PROJECTILE)
|
if (event.GetCause() == DamageCause.ENTITY_ATTACK || event.GetCause() == DamageCause.CUSTOM || event.GetCause() == DamageCause.PROJECTILE)
|
||||||
{
|
{
|
||||||
event.GetDamageeEntity().setHealth(event.GetDamageeEntity().getMaxHealth());
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user