From 4dd8c36047f1e10c8885513b40fbc22ac4fa9aa2 Mon Sep 17 00:00:00 2001 From: CrazyCloudCraft | Argantiu <95505222+CrazyCloudCraft@users.noreply.github.com> Date: Mon, 5 Sep 2022 19:35:50 +0200 Subject: [PATCH] Fixed spawn in other worlds with creative :) --- src/main/java/de/butzlabben/world/wrapper/SystemWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/butzlabben/world/wrapper/SystemWorld.java b/src/main/java/de/butzlabben/world/wrapper/SystemWorld.java index 92b3f61..6ee00b6 100644 --- a/src/main/java/de/butzlabben/world/wrapper/SystemWorld.java +++ b/src/main/java/de/butzlabben/world/wrapper/SystemWorld.java @@ -420,7 +420,7 @@ public class SystemWorld { if (PluginConfig.isSurvival()) { p.setGameMode(GameMode.SURVIVAL); } else { - p.setGameMode(GameMode.SURVIVAL); //p.setGameMode(GameMode.CREATIVE); + p.setGameMode(GameMode.SURVIVAL); //p.setGameMode(GameMode.CREATIVE); //Fixed spawn in other worlds with creative } OfflinePlayer owner = PlayerWrapper.getOfflinePlayer(WorldConfig.getWorldConfig(worldname).getOwner());