@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/TileEntityDispenser.java
|
||||
+++ b/net/minecraft/server/TileEntityDispenser.java
|
||||
@@ -2,12 +2,43 @@
|
||||
@@ -2,12 +2,48 @@
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Random;
|
||||
@@ -36,6 +36,11 @@
|
||||
+ return transaction;
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public int getMaxStackSize() {
|
||||
+ return maxStack;
|
||||
+ }
|
||||
+
|
||||
+ public void setMaxStackSize(int size) {
|
||||
+ maxStack = size;
|
||||
+ }
|
||||
@@ -44,12 +49,3 @@
|
||||
protected TileEntityDispenser(TileEntityTypes<?> tileentitytypes) {
|
||||
super(tileentitytypes);
|
||||
this.items = NonNullList.a(9, ItemStack.a);
|
||||
@@ -97,7 +128,7 @@
|
||||
}
|
||||
|
||||
public int getMaxStackSize() {
|
||||
- return 64;
|
||||
+ return maxStack; // CraftBukkit
|
||||
}
|
||||
|
||||
public String getContainerName() {
|
||||
|
||||
Reference in New Issue
Block a user