Update SystemWorld.java

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-09-05 19:33:29 +02:00 committed by GitHub
parent ecc5ae8720
commit c279e783fb
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.CREATIVE); p.setGameMode(GameMode.SURVIVAL); //p.setGameMode(GameMode.CREATIVE);
} }
OfflinePlayer owner = PlayerWrapper.getOfflinePlayer(WorldConfig.getWorldConfig(worldname).getOwner()); OfflinePlayer owner = PlayerWrapper.getOfflinePlayer(WorldConfig.getWorldConfig(worldname).getOwner());
@ -458,4 +458,4 @@ public class SystemWorld {
public String getName() { public String getName() {
return worldname; return worldname;
} }
} }