Elemental Craft

Elemental Craft

13M Downloads

`disableSourceExhaustion` config option seems to do nothing and does not seem to be referenced in the code

tehbiga opened this issue ยท 1 comments

commented

Describe the bug
Sources are being exhausted even though the option disableSourceExhaustion is set to true.

To Reproduce
Steps to reproduce the behavior:

  1. Enable config
  2. Exhaust a source

Expected behavior
Sources to not exhaust.

I also searched master on here and did not find the config being used anywhere.

Searching 1746 files for "disableSourceExhaustion" (regex)

C:\Users\Andrew\Desktop\ElementalCraft\src\main\java\sirttas\elementalcraft\config\ECConfig.java:
  138  		public final IntValue sourceAltarDistance;
  139  
  140: 		public final BooleanValue disableSourceExhaustion;
  141  		public final IntValue sourceCapacityMin;
  142  		public final IntValue sourceCapacityMax;
  ...
  297  
  298  			builder.pop().comment("Source config").push("source");
  299: 			disableSourceExhaustion = builder.comment("set to true to make sources infinite.").define("disableSourceExhaustion", false);
  300  			sourceCapacityMin = builder.comment("The minimum element capacity of a source.").defineInRange("sourceCapacityMin", 500000, 0, 10000000);
  301  			sourceCapacityMax = builder.comment("The maximum element capacity of a source.").defineInRange("sourceCapacityMax", 1000000, 0, 10000000);

3 matches in 1 file

ModPack
ATM6 1.5.9b

commented

fixed in 2.6.9