mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
fixed end rails going to the wrong destination
This commit is contained in:
parent
1337c48f41
commit
2a913cbeee
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ public class BlockDimensionRail extends AbstractRailBlock implements IModItem, I
|
|||
return new BlockPos(pos.getX() / 8, pos.getY() / 2, pos.getZ() / 8);
|
||||
} else if (this == ModBlocks.DIMENSION_RAIL_END) {
|
||||
// travel to the end from the overworld
|
||||
ServerWorld end = server.getWorld(this.goalDim);
|
||||
return end.func_241135_u_().up(8);
|
||||
return ServerWorld.field_241108_a_.up(8);
|
||||
} else {
|
||||
if (world.func_234923_W_() == World.field_234919_h_) {
|
||||
// travel to the overworld from the nether
|
||||
|
|
Loading…
Reference in a new issue