Skip to content

Commit

Permalink
🐛 修复崩溃
Browse files Browse the repository at this point in the history
  • Loading branch information
1024-byteeeee committed Sep 23, 2024
1 parent a44b51c commit 708f31d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void onValueChange(MinecraftServer server) {
}

public static void onServerLoadedWorlds(MinecraftServer server) {
if (server != null && !server.isStopping() && !server.isStopped() && hasActiveRecipeRule()) {
if (hasActiveRecipeRule()) {
server.execute(() -> {
CommandManager commandManager = server.getCommandManager();
commandManager.execute(server.getCommandSource(), "/reload");
Expand Down

0 comments on commit 708f31d

Please sign in to comment.