geforkt von Mirrors/Paper
Fix hopper not marking source inv as changed (#9070)
Dieser Commit ist enthalten in:
Ursprung
5886ca41ac
Commit
299347e31d
@ -129,6 +129,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ ItemStack movedItem = origItemStack;
|
||||
+ final int originalItemCount = origItemStack.getCount();
|
||||
+ final int movedItemCount = Math.min(level.spigotConfig.hopperAmount, originalItemCount);
|
||||
+ container.setChanged(); // original logic always marks source inv as changed even if no move happens.
|
||||
+ movedItem.setCount(movedItemCount);
|
||||
+
|
||||
+ if (!skipPullModeEventFire) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren