mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-01 13:13:21 +01:00
Update WSCommands.java
This commit is contained in:
parent
da65828664
commit
c84ad6e4e0
@ -17,6 +17,7 @@ import org.bukkit.Bukkit;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.GameMode;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.Iterator;
|
||||
@ -215,7 +216,7 @@ public class WSCommands {
|
||||
}
|
||||
|
||||
p.teleport(PluginConfig.getSpawn(p));
|
||||
p.setGameMode(GameMode.SURVIVAL);//p.setGameMode(PluginConfig.getSpawnGamemode());
|
||||
p.setGameMode(GameMode.SURVIVAL); //p.setGameMode(PluginConfig.getSpawnGamemode());
|
||||
World w = Bukkit.getWorld(p.getWorld().getName());
|
||||
SystemWorld.tryUnloadLater(w);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user