From c484e6d78a13c01f6d3d8d366688fc369992e24b Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Thu, 20 Aug 2020 20:53:33 -0400 Subject: [PATCH] 0.1.9 --- CHANGELOG.md | 3 +++ gradle.properties | 2 +- .../energonrelics/api/energy/tick/EnergyTicker.java | 2 +- .../energonrelics/registry/infuser/InfuserRegistry.java | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0493e09..e1396e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +**Beta 0.1.9** +* Fix Profiling + **Beta 0.1.8** * Fix Creative Inventory Breaking diff --git a/gradle.properties b/gradle.properties index 552e84f..82f7c0e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G fabric_loader_version = 0.9.0+build.204 # Mod Properties - mod_version = 0.1.8 + mod_version = 0.1.9 maven_group = com.thebrokenrail # Dependencies diff --git a/src/main/java/com/thebrokenrail/energonrelics/api/energy/tick/EnergyTicker.java b/src/main/java/com/thebrokenrail/energonrelics/api/energy/tick/EnergyTicker.java index 62fd034..af38106 100644 --- a/src/main/java/com/thebrokenrail/energonrelics/api/energy/tick/EnergyTicker.java +++ b/src/main/java/com/thebrokenrail/energonrelics/api/energy/tick/EnergyTicker.java @@ -69,7 +69,7 @@ public class EnergyTicker { allLoaded = Collections.unmodifiableList(started); - world.getProfiler().visit("shuffle"); + world.getProfiler().push("shuffle"); Collections.shuffle(started, world.random); world.getProfiler().pop(); diff --git a/src/main/java/com/thebrokenrail/energonrelics/registry/infuser/InfuserRegistry.java b/src/main/java/com/thebrokenrail/energonrelics/registry/infuser/InfuserRegistry.java index db4845b..5a6a5f9 100644 --- a/src/main/java/com/thebrokenrail/energonrelics/registry/infuser/InfuserRegistry.java +++ b/src/main/java/com/thebrokenrail/energonrelics/registry/infuser/InfuserRegistry.java @@ -109,6 +109,8 @@ public final class InfuserRegistry { add(Items.GOLD_NUGGET, new InfuserEntry(260, 0.3d, new InfuserAction[]{new InfuserAction.ItemAction(Items.GOLD_INGOT)}, new InfuserAction[]{new InfuserAction.ItemAction(Items.IRON_NUGGET), new InfuserAction.ParticleAction()})); add(Items.IRON_NUGGET, new InfuserEntry(260, 0.3d, new InfuserAction[]{new InfuserAction.ItemAction(Items.IRON_INGOT)}, new InfuserAction[]{new InfuserAction.ParticleAction()})); + + add(Items.IRON_ORE, new InfuserEntry(270, 0.42d, new InfuserAction[]{new InfuserAction.ItemAction(Items.GOLD_ORE)}, new InfuserAction[]{new InfuserAction.ItemAction(Items.IRON_ORE), new InfuserAction.ItemAction(Items.STONE)})); } private static Item[] getWool() {