Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

Restart command stopping server #158

Closed BlackBaroness closed 4 years ago

BlackBaroness commented 4 years ago

After I type "restart" to console Its universal version

[20:34:22] [Server thread/INFO]: Saving players
[20:34:22] [Server thread/INFO]: Saving worlds
[20:34:22] [Server thread/INFO]: Saving chunks for level 'world'/overworld
[20:34:22] [Server thread/INFO]: Saving chunks for level 'DIM-1'/the_nether
[20:34:22] [Server thread/INFO]: Saving chunks for level 'DIM1'/the_end
[20:34:22] [Server thread/INFO]: Unloading dimension 0
[20:34:22] [Server thread/INFO]: Unloading dimension -1
[20:34:22] [Server thread/INFO]: Unloading dimension 1
[20:34:22] [Server thread/INFO]: Saving usercache.json
[20:34:22] [Server thread/WARN]: Java has been asked to exit (code 0)
[20:34:22] [Server thread/WARN]: Exit trace:
[20:34:22] [Server thread/WARN]:        org.spigotmc.RestartCommand.restart(RestartCommand.java:129)
[20:34:22] [Server thread/WARN]:        org.spigotmc.RestartCommand.restart(RestartCommand.java:43)
[20:34:22] [Server thread/WARN]:        org.spigotmc.RestartCommand$1.run(RestartCommand.java:34)
[20:34:22] [Server thread/WARN]:        net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:854)
[20:34:22] [Server thread/WARN]:        net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472)
Luohuayu commented 4 years ago

Just print the stacktrace without any problems