Update SystemWorld.java

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-09-07 10:11:29 +02:00 committed by GitHub
parent fd85733cad
commit 16cd5095ac
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); //Fixed spawn in other worlds with creative p.setGameMode(GameMode.CREATIVE); //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());