mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Fixed the Gaia Guardian's health bar flickering weirdly when it's spawning in a server.
This commit is contained in:
1 parent
f9984e1b04
commit
bb06d8c841
1 file changed
+4
-2
@@ -402,8 +402,10 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
|
||||
for(int i = 0; i < 2; i++)
|
||||
spawnExplosionParticle();
|
||||
|
||||
setHealth(getHealth() + (MAX_HP - 1F) / SPAWN_TICKS);
|
||||
setInvulTime(invul - 1);
|
||||
if(!worldObj.isRemote) {
|
||||
setHealth(getHealth() + (MAX_HP - 1F) / SPAWN_TICKS);
|
||||
setInvulTime(invul - 1);
|
||||
}
|
||||
motionY = 0;
|
||||
} else {
|
||||
if(isAggored()) {
|
||||
|
||||
Reference in new issue
Block a user