mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Revert signature changes of public methods that caused crashes (#74)
* restore previous public method signature to prevent crash * don't register the event if vanilla config * revert signature changes * Restore original calculation logic --------- Co-authored-by: OneEyeMaker <[email protected]>
This commit is contained in:
1 parent
3e2ba6ac16
commit
50bd690204
4 files changed
+13
-12
No files matched your search
@@ -78,7 +78,8 @@ public class PHConstruct {
|
||||
0,
|
||||
"Changes the despawn time of all items, 0 is vanilla behavior").getInt(0);
|
||||
dropCanisters = config.get("Difficulty Changes", "Drop heart canisters on death", false).getBoolean(false);
|
||||
daggerThrowMultiplier = config.get("Difficulty Changes", "Thrown dagger output multiplier", 1).getDouble(1);
|
||||
daggerAdditionalThrowDamage = config.get("Difficulty Changes", "Additional throw damage of dagger", 0)
|
||||
.getInt(0);
|
||||
|
||||
naturalSlimeSpawn = config.get("Mobs", "Blue Slime spawn chance", 1, "Set to 0 to disable").getInt(1);
|
||||
|
||||
@@ -438,7 +439,7 @@ public class PHConstruct {
|
||||
public static boolean indestructible;
|
||||
public static int globalDespawn;
|
||||
public static boolean dropCanisters;
|
||||
public static double daggerThrowMultiplier;
|
||||
public static int daggerAdditionalThrowDamage;
|
||||
|
||||
// Smeltery Output Modification
|
||||
public static double ingotsPerOre;
|
||||
|
||||
Reference in new issue
Block a user