Set Spawn XYX after randomizing location.
This commit is contained in:
parent
d7b9cc53de
commit
f08b6c0fd9
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,6 +400,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,6 +400,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,6 +400,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,6 +404,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
|||||||
{
|
{
|
||||||
newlocx = randX;
|
newlocx = randX;
|
||||||
newlocy = randY;
|
newlocy = randY;
|
||||||
|
setXYZ(newlocx, newlocy, newlocz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user