Fix wrong index
This commit is contained in:
@@ -13,6 +13,9 @@ public interface IStorageDisk<T> extends IStorage<T> {
|
|||||||
*/
|
*/
|
||||||
int getCapacity();
|
int getCapacity();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return whether this storage voids excess stacks
|
||||||
|
*/
|
||||||
boolean isVoiding();
|
boolean isVoiding();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public class NetworkNodeDiskManipulator extends NetworkNode implements IComparab
|
|||||||
if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER) {
|
if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER) {
|
||||||
RSUtils.createStorages(
|
RSUtils.createStorages(
|
||||||
getStackInSlot(slot),
|
getStackInSlot(slot),
|
||||||
slot,
|
3 + slot,
|
||||||
itemStorages,
|
itemStorages,
|
||||||
fluidStorages,
|
fluidStorages,
|
||||||
s -> new StorageItemDiskManipulator(NetworkNodeDiskManipulator.this, s),
|
s -> new StorageItemDiskManipulator(NetworkNodeDiskManipulator.this, s),
|
||||||
|
|||||||
Reference in New Issue
Block a user