fixed servercrash
This commit is contained in:
parent
364241a162
commit
6dcbc100ed
4 changed files with 10 additions and 10 deletions
|
@ -727,25 +727,25 @@ public class dimHelper extends DimensionManager
|
||||||
if(orientation==0)
|
if(orientation==0)
|
||||||
{
|
{
|
||||||
x=x+15;
|
x=x+15;
|
||||||
this.getWorld(incomingLink.destDimID).setSpawnLocation(x-1, y, z);
|
//this.getWorld(incomingLink.destDimID).setSpawnLocation(x-1, y, z);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(orientation==1)
|
else if(orientation==1)
|
||||||
{
|
{
|
||||||
z=z+15;
|
z=z+15;
|
||||||
this.getWorld(incomingLink.destDimID).setSpawnLocation(x, y, z-1);
|
// this.getWorld(incomingLink.destDimID).setSpawnLocation(x, y, z-1);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(orientation==2)
|
else if(orientation==2)
|
||||||
{
|
{
|
||||||
x=x-15;
|
x=x-15;
|
||||||
this.getWorld(incomingLink.destDimID).setSpawnLocation(x+1, y, z);
|
// this.getWorld(incomingLink.destDimID).setSpawnLocation(x+1, y, z);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(orientation==3)
|
else if(orientation==3)
|
||||||
{
|
{
|
||||||
z=z-15;
|
z=z-15;
|
||||||
this.getWorld(incomingLink.destDimID).setSpawnLocation(x, y, z+1);
|
// this.getWorld(incomingLink.destDimID).setSpawnLocation(x, y, z+1);
|
||||||
|
|
||||||
}
|
}
|
||||||
int searchRadius=19;
|
int searchRadius=19;
|
||||||
|
|
|
@ -133,14 +133,14 @@ public class limboSkyProvider extends IRenderHandler
|
||||||
tessellator1.addVertexWithUV((double)(-f10), 100.0D, (double)f10, 0.0D, 1.0D);
|
tessellator1.addVertexWithUV((double)(-f10), 100.0D, (double)f10, 0.0D, 1.0D);
|
||||||
tessellator1.draw();
|
tessellator1.draw();
|
||||||
f10 = 20.0F;
|
f10 = 20.0F;
|
||||||
mc.renderEngine.bindTexture("/environment/moon_phases.png");
|
mc.renderEngine.bindTexture("/mods/DimensionalDoors/textures/other/limboMoon.png");
|
||||||
int k = world.getMoonPhase();
|
int k = world.getMoonPhase();
|
||||||
int l = k % 4;
|
int l = k % 4;
|
||||||
int i1 = k / 4 % 2;
|
int i1 = k / 4 % 2;
|
||||||
float f14 = (float)(l + 0) / 4.0F;
|
float f14 = (float)(l + 0) ;
|
||||||
float f15 = (float)(i1 + 0) / 2.0F;
|
float f15 = (float)(i1 + 0);
|
||||||
float f16 = (float)(l + 1) / 4.0F;
|
float f16 = (float)(l + 1) ;
|
||||||
float f17 = (float)(i1 + 1) / 2.0F;
|
float f17 = (float)(i1 + 1);
|
||||||
tessellator1.startDrawingQuads();
|
tessellator1.startDrawingQuads();
|
||||||
tessellator1.addVertexWithUV((double)(-f10), -100.0D, (double)f10, (double)f16, (double)f17);
|
tessellator1.addVertexWithUV((double)(-f10), -100.0D, (double)f10, (double)f16, (double)f17);
|
||||||
tessellator1.addVertexWithUV((double)f10, -100.0D, (double)f10, (double)f14, (double)f17);
|
tessellator1.addVertexWithUV((double)f10, -100.0D, (double)f10, (double)f14, (double)f17);
|
||||||
|
|
|
@ -604,7 +604,7 @@ public class mod_pocketDim
|
||||||
this.deadEnds.add(new DungeonGenerator(0, "smallPond.schematic", true));
|
this.deadEnds.add(new DungeonGenerator(0, "smallPond.schematic", true));
|
||||||
|
|
||||||
|
|
||||||
this.pistonTraps.add(new DungeonGenerator(0, "fakeTNTTrap.schematic", false));
|
// this.pistonTraps.add(new DungeonGenerator(0, "fakeTNTTrap.schematic", false));
|
||||||
this.pistonTraps.add(new DungeonGenerator(0, "hallwayPitFallTrap.schematic", false));
|
this.pistonTraps.add(new DungeonGenerator(0, "hallwayPitFallTrap.schematic", false));
|
||||||
this.pistonTraps.add(new DungeonGenerator(0, "hallwayPitFallTrap.schematic", false));
|
this.pistonTraps.add(new DungeonGenerator(0, "hallwayPitFallTrap.schematic", false));
|
||||||
this.pistonTraps.add(new DungeonGenerator(0, "pistonFallRuins.schematic", false));
|
this.pistonTraps.add(new DungeonGenerator(0, "pistonFallRuins.schematic", false));
|
||||||
|
|
BIN
resources/mods/DimensionalDoors/textures/other/limboMoon.png
Normal file
BIN
resources/mods/DimensionalDoors/textures/other/limboMoon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
Loading…
Reference in a new issue