mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Change this to also respect new method
This commit is contained in:
parent
9b7177fbe9
commit
3b7cf5d7c9
3 changed files with 6 additions and 6 deletions
|
@ -109,7 +109,7 @@ public class TileEntityDisplayStand extends TileEntityInventoryBase implements I
|
|||
}
|
||||
|
||||
@Override
|
||||
public int getMaxStackSizePerSlot(int slot, ItemStack stack){
|
||||
public int getMaxStackSizePerSlot(int slot){
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ public class TileEntityEmpowerer extends TileEntityInventoryBase{
|
|||
}
|
||||
|
||||
@Override
|
||||
public int getMaxStackSizePerSlot(int slot, ItemStack stack){
|
||||
public int getMaxStackSizePerSlot(int slot){
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,8 +41,8 @@ public abstract class TileEntityInventoryBase extends TileEntityBase{
|
|||
}
|
||||
|
||||
@Override
|
||||
protected int getStackLimit(int slot, ItemStack stack){
|
||||
return TileEntityInventoryBase.this.getMaxStackSizePerSlot(slot, stack);
|
||||
public int getSlotLimit(int slot){
|
||||
return TileEntityInventoryBase.this.getMaxStackSizePerSlot(slot);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -99,8 +99,8 @@ public abstract class TileEntityInventoryBase extends TileEntityBase{
|
|||
return true;
|
||||
}
|
||||
|
||||
public int getMaxStackSizePerSlot(int slot, ItemStack stack){
|
||||
return stack.getMaxStackSize();
|
||||
public int getMaxStackSizePerSlot(int slot){
|
||||
return 64;
|
||||
}
|
||||
|
||||
public boolean shouldSyncSlots(){
|
||||
|
|
Loading…
Reference in a new issue