mirror of
https://github.com/CarmJos/cn2b2t-project.git
synced 2024-09-19 22:05:45 +00:00
缩短了传送点
This commit is contained in:
parent
f3dc1c3aa4
commit
e2019ba6e6
@ -14,8 +14,8 @@ public class DeathManager {
|
||||
Random r = new Random();
|
||||
|
||||
while (true) {
|
||||
int x = -15000 + r.nextInt(30001);
|
||||
int z = -15000 + r.nextInt(30001);
|
||||
int x = -1500 + r.nextInt(3001);
|
||||
int z = -1500 + r.nextInt(3001);
|
||||
int y = w.getHighestBlockYAt(x, z);
|
||||
Location loc = new Location(w, x, y, z);
|
||||
Biome locBiome = w.getBiome(loc.getChunk().getX(), loc.getChunk().getZ());
|
||||
|
Loading…
Reference in New Issue
Block a user