mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-01-06 18:47:52 +01:00
Update SystemWorld.java
This commit is contained in:
parent
ecc5ae8720
commit
c279e783fb
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user