mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-03 13:27:23 +01:00
Use correct max stack size in crafter (#10057)
This commit is contained in:
parent
bdae546a5e
commit
9ac075e78e
1 changed files with 19 additions and 0 deletions
19
patches/server/Use-correct-max-stack-size-in-crafter.patch
Normal file
19
patches/server/Use-correct-max-stack-size-in-crafter.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
||||
Date: Tue, 19 Dec 2023 13:52:21 -0800
|
||||
Subject: [PATCH] Use correct max stack size in crafter
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/level/block/entity/CrafterBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/CrafterBlockEntity.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/block/entity/CrafterBlockEntity.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/block/entity/CrafterBlockEntity.java
|
||||
@@ -0,0 +0,0 @@ public class CrafterBlockEntity extends RandomizableContainerBlockEntity impleme
|
||||
protected final ContainerData containerData;
|
||||
// CraftBukkit start - add fields and methods
|
||||
public List<HumanEntity> transaction = new java.util.ArrayList<>();
|
||||
- private int maxStack = 1;
|
||||
+ private int maxStack = CraftingContainer.LARGE_MAX_STACK_SIZE; // Paper - use correct stack size
|
||||
|
||||
@Override
|
||||
public List<ItemStack> getContents() {
|
Loading…
Add table
Reference in a new issue