fix entity void height
This commit is contained in:
parent
688522c5ca
commit
f6b2fdf422
2 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ public abstract class Entity
|
|||
this.setOnFireFromMolten();
|
||||
}
|
||||
|
||||
if (this.posY < (double)(-World.MAX_SIZE_Y))
|
||||
if (this.posY < (double)(-World.MAX_SIZE_Y) - 64.0)
|
||||
{
|
||||
this.onVoidUpdate();
|
||||
}
|
||||
|
|
|
@ -242,7 +242,7 @@ public abstract class EntityCart extends Entity implements IWorldNameable
|
|||
this.setDamage(this.getDamage() - 1);
|
||||
}
|
||||
|
||||
if (this.posY < (double)(-World.MAX_SIZE_Y))
|
||||
if (this.posY < (double)(-World.MAX_SIZE_Y) - 64.0)
|
||||
{
|
||||
this.onVoidUpdate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue