reimplemented fix

This commit is contained in:
StevenRS11 2013-05-30 15:00:08 -04:00
parent 6dcbc100ed
commit 0d51e5aa46

View file

@ -727,25 +727,25 @@ public class dimHelper extends DimensionManager
if(orientation==0)
{
x=x+15;
//this.getWorld(incomingLink.destDimID).setSpawnLocation(x-1, y, z);
this.getWorld(incomingLink.destDimID).provider.setSpawnPoint(x-1, y, z);
}
else if(orientation==1)
{
z=z+15;
// this.getWorld(incomingLink.destDimID).setSpawnLocation(x, y, z-1);
this.getWorld(incomingLink.destDimID).provider.setSpawnPoint(x, y, z-1);
}
else if(orientation==2)
{
x=x-15;
// this.getWorld(incomingLink.destDimID).setSpawnLocation(x+1, y, z);
this.getWorld(incomingLink.destDimID).provider.setSpawnPoint(x+1, y, z);
}
else if(orientation==3)
{
z=z-15;
// this.getWorld(incomingLink.destDimID).setSpawnLocation(x, y, z+1);
this.getWorld(incomingLink.destDimID).provider.setSpawnPoint(x, y, z+1);
}
int searchRadius=19;