Fix spawn world config

This commit is contained in:
Len 2024-02-11 14:38:23 +01:00
parent d2e4591c21
commit b04ec4eab6

View File

@ -121,7 +121,7 @@ public class Config {
TELEPORT_REQUEST_TIMEOUT_MESSAGES = getBoolean("teleport-request-timeout-message", TELEPORT_REQUEST_TIMEOUT_MESSAGES);
BACK_ON_DEATH = getBoolean("back-on-death", BACK_ON_DEATH);
TELEPORT_SOUNDS = getBoolean("use-teleport-sounds", TELEPORT_SOUNDS);
SPAWN_WORLD = getString("use-teleport-sounds", SPAWN_WORLD);
SPAWN_WORLD = getString("spawn-world", SPAWN_WORLD);
try {
SOUND_TO = Sound.valueOf(config.getString("sound-to", "ENTITY_ENDERMAN_TELEPORT"));
} catch (IllegalArgumentException e) {