mirror of
https://github.com/CarmJos/cn2b2t-project.git
synced 2026-06-04 08:48:16 +08:00
缩短了传送点
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@ public class DeathManager {
|
|||||||
Random r = new Random();
|
Random r = new Random();
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
int x = -15000 + r.nextInt(30001);
|
int x = -1500 + r.nextInt(3001);
|
||||||
int z = -15000 + r.nextInt(30001);
|
int z = -1500 + r.nextInt(3001);
|
||||||
int y = w.getHighestBlockYAt(x, z);
|
int y = w.getHighestBlockYAt(x, z);
|
||||||
Location loc = new Location(w, x, y, z);
|
Location loc = new Location(w, x, y, z);
|
||||||
Biome locBiome = w.getBiome(loc.getChunk().getX(), loc.getChunk().getZ());
|
Biome locBiome = w.getBiome(loc.getChunk().getX(), loc.getChunk().getZ());
|
||||||
|
|||||||
Reference in New Issue
Block a user