Fixed falling damage persisting after teleport
This commit is contained in:
parent
c87e572136
commit
80968f9abf
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ public class BlockDimWallPerm extends Block
|
|||
|
||||
if(dimHelper.getWorld(0)!=null&&par5Entity instanceof EntityPlayerMP)
|
||||
{
|
||||
par5Entity.fallDistance=0;
|
||||
int x = (link.destXCoord + rand.nextInt(properties.LimboReturnRange)-properties.LimboReturnRange/2);
|
||||
int z = (link.destZCoord + rand.nextInt(properties.LimboReturnRange)-properties.LimboReturnRange/2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue