Config for item type limit
This commit is contained in:
parent
404b4dbab9
commit
f0311d3fd9
|
@ -99,7 +99,7 @@ public final class AEConfig extends Configuration implements IConfigurableObject
|
|||
private double WirelessBaseRange = 16;
|
||||
private double WirelessBoosterRangeMultiplier = 1;
|
||||
private double WirelessBoosterExp = 1.5;
|
||||
public int ItemTypeLimit = 65536;
|
||||
public int ItemTypeLimit = 63;
|
||||
|
||||
public AEConfig( final File configFile )
|
||||
{
|
||||
|
|
|
@ -28,6 +28,7 @@ import appeng.api.networking.security.BaseActionSource;
|
|||
import appeng.api.storage.*;
|
||||
import appeng.api.storage.data.IAEItemStack;
|
||||
import appeng.api.storage.data.IItemList;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.util.Platform;
|
||||
import appeng.util.item.AEItemStack;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
|
@ -43,7 +44,7 @@ import java.util.Set;
|
|||
|
||||
public class CellInventory implements ICellInventory
|
||||
{
|
||||
public static final int cellItemType = 524288;
|
||||
public static final int cellItemType = AEConfig.instance.ItemTypeLimit;
|
||||
private static final String ITEM_TYPE_TAG = "it";
|
||||
private static final String ITEM_COUNT_TAG = "ic";
|
||||
private static final String ITEM_SLOT = "#";
|
||||
|
|
Loading…
Reference in New Issue