Various Fixes

This commit is contained in:
StevenRS11 2014-01-26 04:10:35 -05:00
parent d921982c75
commit 1705182c67
5 changed files with 3 additions and 7 deletions

View file

@ -83,7 +83,6 @@ public class CommandCreateDungeonRift extends DDCommandBase
dimension = PocketManager.getDimensionData(sender.worldObj);
link = dimension.createLink(x, y + 1, z, LinkTypes.DUNGEON, orientation);
sender.worldObj.setBlock(x, y + 1, z,mod_pocketDim.blockRift.blockID, 0, 3);
sendChat(sender, "Created a rift to a random dungeon.");
}
else
@ -97,11 +96,9 @@ public class CommandCreateDungeonRift extends DDCommandBase
if (result != null)
{
//Create a rift to our selected dungeon and notify the player
//TODO currently crashes, need to create the dimension first
dimension = PocketManager.getDimensionData(sender.worldObj);
link = dimension.createLink(x, y + 1, z, LinkTypes.DUNGEON, orientation);
PocketBuilder.generateSelectedDungeonPocket(link, mod_pocketDim.properties, result);
sender.worldObj.setBlock(x, y + 1, z, mod_pocketDim.blockRift.blockID, 0, 3);
sendChat(sender, "Created a rift to \"" + result.schematicName() + "\" dungeon (Dimension ID = " + link.destination().getDimension() + ").");
}
@ -127,7 +124,6 @@ public class CommandCreateDungeonRift extends DDCommandBase
{
//We need to extract the file's name. Comparing against schematicPath could
//yield false matches if the query string is contained within the path.
dungeonName = dungeon.schematicName().toLowerCase();
if (dungeonName.length() < matchLength && dungeonName.contains(normalQuery))
{

View file

@ -100,7 +100,7 @@ serverPacketHandlerSpec =
@SidedPacketHandler(channels = {PacketConstants.CHANNEL_NAME}, packetHandler = ServerPacketHandler.class))
public class mod_pocketDim
{
public static final String version = "$VERSION$";
public static final String version = "1.6.4R2.1.2RC1";
public static final String modid = "dimdoors";
//need to clean up

View file

@ -3,7 +3,7 @@
"modlist":
[
{
"modid": "DimDoors",
"modid": "dimdoors",
"name": "Dimensional Doors",
"description": "Bend and twist reality itself, creating pocket dimensions, rifts, and much more",
"version": "1.6.4R2.1.2RC1",

View file

@ -45,7 +45,7 @@
/schematics/ruins/Hub_SK-RandomSwamp_Open_75.schematic
/schematics/ruins/Hub_SK-TheNexus_Open_40.schematic
/schematics/ruins/maze_smallMaze1_closed_100.schematic
/schematics/ruins/maze_smallMultilevelMaze_closed_100.schematic
/schematics/ruins/hub_smallMultilevelMaze_closed_100.schematic
/schematics/ruins/simpleHall_collapsedSingleTunnel1_closed_100.schematic
/schematics/ruins/simpleHall_simpleDropHall_closed_100.schematic
/schematics/ruins/simpleHall_simpleSmallT1_closed_100.schematic