Fixed spawn in other worlds with creative

:)
This commit is contained in:
CrazyCloudCraft | Argantiu 2022-09-05 19:35:50 +02:00 committed by GitHub
parent c279e783fb
commit 4dd8c36047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ public class SystemWorld {
if (PluginConfig.isSurvival()) { if (PluginConfig.isSurvival()) {
p.setGameMode(GameMode.SURVIVAL); p.setGameMode(GameMode.SURVIVAL);
} else { } 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()); OfflinePlayer owner = PlayerWrapper.getOfflinePlayer(WorldConfig.getWorldConfig(worldname).getOwner());