Skip to content

Commit

Permalink
Fix #637 by adjusting default config value. This will not affect old …
Browse files Browse the repository at this point in the history
…worlds unless forcefully changed (and generally don't). Bump version.
  • Loading branch information
alcatrazEscapee committed Dec 8, 2019
1 parent 1f320d0 commit f725574
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -56,7 +56,7 @@ file "build.properties" withReader {
* The version number is a sacred tool that a computer must understand and be able to compare to see what's what.
* `-SNAPSHOT` or `.rc0v14s4dffds2` communicates nothing useful.
*/
version = "0.27.3" // To be clear, you can edit this if you are submitting a patch PR, or if you are merging a feature into master.
version = "0.27.4" // To be clear, you can edit this if you are submitting a patch PR, or if you are merging a feature into master.
if (System.getenv().BUILD_NUMBER != null) version += "." + System.getenv().BUILD_NUMBER

group = "net.dries007.tfc" // According to java standards, as I have control over this domain. If you fork this and release your own version, change this.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/dries007/tfc/ConfigTFC.java
Expand Up @@ -330,10 +330,10 @@ public static class WorldCFG
@Config.RequiresWorldRestart
public boolean debugWorldGen = false;

@Config.Comment({"This controls the size of the temperature regions. The size of each temperature zone is determined by a sin wave. This represents half the period of the wave = the distance between hot and cold bands, in blocks"})
@Config.Comment({"This controls the size of the temperature regions. The size of each temperature zone is determined by a sin wave. This represents the period of the wave = the distance between hot and cold bands, in blocks"})
@Config.RangeInt(min = 1_000, max = 1_000_000)
@Config.LangKey("config." + MOD_ID + ".world.latitudeTemperatureModifier")
public int latitudeTemperatureModifier = 20_000;
public int latitudeTemperatureModifier = 40_000;

@Config.Comment("The rarity for clay pits to occur. On average 1 / N chunks will have a clay deposit, if the chunk in question is valid for clay to spawn.")
@Config.RangeInt(min = 1)
Expand Down
8 changes: 3 additions & 5 deletions src/main/java/net/dries007/tfc/objects/te/TEBloomery.java
Expand Up @@ -44,9 +44,9 @@
@ParametersAreNonnullByDefault
public class TEBloomery extends TEInventory implements ICalendarTickable, ITickable
{
//Gets the internal block, should be charcoal pile/bloom
// Gets the internal block, should be charcoal pile/bloom
private static final Vec3i OFFSET_INTERNAL = new Vec3i(1, 0, 0);
//Gets the external block, the front of the facing to dump contents in world.
// Gets the external block, the front of the facing to dump contents in world.
private static final Vec3i OFFSET_EXTERNAL = new Vec3i(-1, 0, 0);
private List<ItemStack> oreStacks = new ArrayList<>();
private List<ItemStack> fuelStacks = new ArrayList<>();
Expand Down Expand Up @@ -81,7 +81,6 @@ public void readFromNBT(NBTTagCompound tag)
fuelStacks.add(new ItemStack(fuels.getCompoundTagAt(i)));
}
burnTicksLeft = tag.getLong("burnTicksLeft");
lastPlayerTick = tag.getLong("lastPlayerTick");
super.readFromNBT(tag);
}

Expand All @@ -102,7 +101,6 @@ public NBTTagCompound writeToNBT(NBTTagCompound tag)
}
tag.setTag("fuels", fuels);
tag.setLong("burnTicksLeft", burnTicksLeft);
tag.setLong("lastPlayerTick", lastPlayerTick);
return super.writeToNBT(tag);
}

Expand Down Expand Up @@ -141,7 +139,7 @@ public void update()
while (maxOre < oreStacks.size())
{
turnOff = true;
//Structure lost one or more chimney levels
// Structure lost one or more chimney levels
InventoryHelper.spawnItemStack(world, getExternalBlock().getX(), getExternalBlock().getY(), getExternalBlock().getZ(), oreStacks.get(0));
oreStacks.remove(0);
}
Expand Down

0 comments on commit f725574

Please sign in to comment.