more patches
This commit is contained in:
parent
18a839d265
commit
8cf470d6b1
49 changed files with 582 additions and 738 deletions
|
@ -0,0 +1,25 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: chickeneer <emcchickeneer@gmail.com>
|
||||
Date: Wed, 18 Mar 2020 00:07:46 -0500
|
||||
Subject: [PATCH] MC-147729: Drop items that are extra from a crafting recipe
|
||||
|
||||
1.17: Issue seems to be fixed (source: Mojira)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/recipebook/ServerPlaceRecipe.java b/src/main/java/net/minecraft/recipebook/ServerPlaceRecipe.java
|
||||
index a18aa176850bef45afcaf5742e9afbfa39281e22..c6ba6aabf94c26cccbd14689ea32373c17bbccc4 100644
|
||||
--- a/src/main/java/net/minecraft/recipebook/ServerPlaceRecipe.java
|
||||
+++ b/src/main/java/net/minecraft/recipebook/ServerPlaceRecipe.java
|
||||
@@ -71,7 +71,12 @@ public class ServerPlaceRecipe<C extends Container> implements PlaceRecipe<Integ
|
||||
if (j == -1) {
|
||||
j = this.inventory.getFreeSlot();
|
||||
}
|
||||
-
|
||||
+ // Paper start
|
||||
+ if (j == -1) {
|
||||
+ this.inventory.player.drop(itemstack.copy(), false);
|
||||
+ break;
|
||||
+ }
|
||||
+ // Paper end
|
||||
ItemStack itemstack1 = itemstack.copy();
|
||||
|
||||
itemstack1.setCount(1);
|
Loading…
Add table
Add a link
Reference in a new issue