Configurable Channel Limits (#295)
* Channel Config Test * Update AEConfig.java * userDefinedChannelAmounts config option added for the dense and normal channel amounts - will need to be refined to match everything but not sure what I would need to do to make it match the other config options rebound all hard coded checks for channel amounts and linked them to the config options redefined how the channel amounts are noted in all applicable api integrations
This commit is contained in:
@@ -34,6 +34,7 @@ import appeng.client.render.cablebus.CableBusRenderState;
|
||||
import appeng.client.render.cablebus.CableCoreType;
|
||||
import appeng.client.render.cablebus.FacadeRenderState;
|
||||
import appeng.core.AELog;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.facade.FacadeContainer;
|
||||
import appeng.helpers.AEMultiTile;
|
||||
import appeng.me.GridConnection;
|
||||
@@ -1022,7 +1023,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
||||
}
|
||||
|
||||
int length = (int) part.getCableConnectionLength(null);
|
||||
if (length > 0 && length <= 8) {
|
||||
if (length > 0 && length <= AEConfig.instance().getNormalChannelCapacity()) {
|
||||
renderState.getAttachmentConnections().put(facing, length);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user