Fixed Limbo Gateways (again)
Forgot to add the line for creating the dungeon link. Done and tested.
This commit is contained in:
@@ -4,6 +4,8 @@ import net.minecraft.item.ItemDoor;
|
||||
import net.minecraft.world.World;
|
||||
import StevenDimDoors.mod_pocketDim.mod_pocketDim;
|
||||
import StevenDimDoors.mod_pocketDim.config.DDProperties;
|
||||
import StevenDimDoors.mod_pocketDim.core.LinkTypes;
|
||||
import StevenDimDoors.mod_pocketDim.core.PocketManager;
|
||||
import StevenDimDoors.mod_pocketDim.world.LimboProvider;
|
||||
|
||||
public class GatewayLimbo extends BaseGateway
|
||||
@@ -27,7 +29,8 @@ public class GatewayLimbo extends BaseGateway
|
||||
world.setBlock(x, y + 2, z + 1, blockID, 0, 3);
|
||||
world.setBlock(x, y + 1, z - 1, blockID, 0, 3);
|
||||
world.setBlock(x, y + 1, z + 1, blockID, 0, 3);
|
||||
|
||||
|
||||
PocketManager.getDimensionData(world).createLink(x, y + 2, z, LinkTypes.DUNGEON, 0);
|
||||
ItemDoor.placeDoorBlock(world, x, y + 1, z, 0, mod_pocketDim.transientDoor);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user