Fixes
This commit is contained in:
parent
9c31454a46
commit
fcce1b363b
3 changed files with 20 additions and 26 deletions
|
@ -95,10 +95,17 @@ public class EndPortalBlock extends NetherPortalBlock implements IRenderTypeable
|
|||
if (destination.getRegistryKey() == World.OVERWORLD) {
|
||||
//player.teleport(destination, pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5, player.yaw, player.pitch);
|
||||
//player.updatePositionAndAngles(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5, player.yaw, player.pitch);
|
||||
player.moveToWorld(destination);
|
||||
player.teleport(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5);
|
||||
//player.moveToWorld(destination);
|
||||
//player.teleport(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5);
|
||||
//player.updatePositionAndAngles(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5, player.yaw, player.pitch);
|
||||
//player.teleport(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5);
|
||||
|
||||
//player.teleport(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5);
|
||||
|
||||
// The most safe way
|
||||
player.moveToWorld(destination);
|
||||
|
||||
//player.teleport(pos.getX() + 0.5, pos.getY(), pos.getZ() + 0.5);
|
||||
}
|
||||
else {
|
||||
player.moveToWorld(destination);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue