mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -07:00
SPIGOT-4717: Fix adding recipes after clearRecipes is called
This commit is contained in:
@@ -49,6 +49,7 @@ import net.minecraft.server.BlockPosition;
|
||||
import net.minecraft.server.BossBattleCustom;
|
||||
import net.minecraft.server.CommandDispatcher;
|
||||
import net.minecraft.server.CommandListenerWrapper;
|
||||
import net.minecraft.server.CraftingManager;
|
||||
import net.minecraft.server.DedicatedPlayerList;
|
||||
import net.minecraft.server.DedicatedServer;
|
||||
import net.minecraft.server.DedicatedServerProperties;
|
||||
@@ -1096,7 +1097,7 @@ public final class CraftServer implements Server {
|
||||
|
||||
@Override
|
||||
public void clearRecipes() {
|
||||
console.getCraftingManager().recipes.clear();
|
||||
CraftingManager.a(console.getCraftingManager().recipes);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user