mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-03 13:33:22 +01:00
Fixed spawn in other worlds with creative
:)
This commit is contained in:
parent
c279e783fb
commit
4dd8c36047
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user