1.18 spawn fix
This commit is contained in:
parent
25c493c19b
commit
c2bac8abfe
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ public class Config {
|
|||
//Spawn
|
||||
spawnPosition = new Vector(
|
||||
config.getDouble("spawns.game.x"),
|
||||
Math.max(0, Math.min(255, config.getDouble("spawns.game.y"))),
|
||||
Math.max(Version.atLeast("1.18") ? -64 : 0, Math.min(255, config.getDouble("spawns.game.y"))),
|
||||
config.getDouble("spawns.game.z")
|
||||
);
|
||||
spawnWorld = config.getString("spawns.game.world");
|
||||
|
|
Loading…
Reference in a new issue