tweak default config values

This commit is contained in:
Quantumlyy committed 2023-12-12 11:46:22 +01:00
1 parent 121fe1c0a9
commit 4c64395e21
3 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -345,7 +345,7 @@ public class Config {
"The time in ticks between Phialing Cabinet essentia generation",
1,
32767);
thaumcraftEssentiaBeePhialingCabinetTimeBetween = p.getInt(10);
thaumcraftEssentiaBeePhialingCabinetTimeBetween = p.getInt(200);
p = configuration.get(
CATEGORY_GENERAL,
"thaumcraftEssentiaBeePhialingCabinetAmount",
@@ -353,7 +353,7 @@ public class Config {
"The amount that the Phialing Cabinet generates on every round",
1,
32767);
thaumcraftEssentiaBeePhialingCabinetAmount = p.getInt(2);
thaumcraftEssentiaBeePhialingCabinetAmount = p.getInt(1);
p = configuration.get(
CATEGORY_GENERAL,
"thaumcraftEssentiaBeePhialingCabinetCapacity",
@@ -361,7 +361,7 @@ public class Config {
"The amount that the Phialing Cabinet can hold of each aspect",
1,
32767);
thaumcraftEssentiaBeePhialingCabinetCapacity = p.getInt(64);
thaumcraftEssentiaBeePhialingCabinetCapacity = p.getInt(256);
p = configuration.get(CATEGORY_GENERAL, "moonDialShowText", false);
p.comment = "set to true to show the current moon phase in mouse-over text.";
@@ -42,7 +42,8 @@ public class TileEntityPhialingCabinet extends TileEntity implements IAspectCont
// We also don't need to run all the logic if the cabinet is full.
if (aspect == null || essentia.visSize() == maxAmount) return;
if (increment % Config.thaumcraftEssentiaBeePhialingCabinetTimeBetween == 0) {
if (increment >= Config.thaumcraftEssentiaBeePhialingCabinetTimeBetween) {
increment = 0;
try {
TileEntity above = worldObj.getTileEntity(this.xCoord, this.yCoord + 1, this.zCoord);
if (IBeeHousing.class.isAssignableFrom(above.getClass())) {
@@ -71,7 +72,6 @@ public class TileEntityPhialingCabinet extends TileEntity implements IAspectCont
}
}
} catch (Exception ignored) {}
increment = 0;
}
increment++;