1
mirror of https://github.com/CarmJos/cn2b2t-project.git synced 2024-09-19 22:05:45 +00:00

缩短了传送点

This commit is contained in:
carm 2020-05-28 19:40:38 +08:00
parent f3dc1c3aa4
commit e2019ba6e6

View File

@ -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());