Updated to 1.16.2-rc2

This commit is contained in:
Sebastian Hartte
2020-08-11 16:20:31 +02:00
parent c59a6e34eb
commit 68a02ed64b
68 changed files with 278 additions and 205 deletions
@@ -80,11 +80,11 @@ public class RestrictedInputSlot extends AppEngSlot {
}
@Override
public int getMaxStackAmount() {
public int getMaxItemCount() {
if (this.stackLimit != -1) {
return this.stackLimit;
}
return super.getMaxStackAmount();
return super.getMaxItemCount();
}
public boolean isValid(final ItemStack is, final World theWorld) {