mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Fix server-crash on king silme death #1209
This commit is contained in:
1 parent
d089455063
commit
8623b0978b
1 file changed
+3
-1
@@ -60,7 +60,9 @@ public class KingBlueSlime extends SlimeBase implements IBossDisplayData {
|
||||
double x = Math.cos(r);
|
||||
double z = Math.sin(r);
|
||||
entityslime.setLocationAndAngles(this.posX - 1d + x, this.posY + 0.5D, this.posZ - 1d + z, this.rand.nextFloat() * 360.0F, 0.0F);
|
||||
entityslime.setVelocity(x, -0.5d - rand.nextDouble(), z);
|
||||
entityslime.motionX = x;
|
||||
entityslime.motionY = -0.5d - rand.nextDouble();
|
||||
entityslime.motionZ = z;
|
||||
this.worldObj.spawnEntityInWorld(entityslime);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user