diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-09-23 15:45:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 15:45:21 +0200 |
commit | 8edd0070a55d422e6470aaed09ab72d8bc952578 (patch) | |
tree | 11ce28bb7da351978d08d8f9e91b7646c7f23e9f /src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | |
parent | c24b433a0cfeb662d5ccaf63ff7e4f6a06f9be4a (diff) | |
download | skyhanni-8edd0070a55d422e6470aaed09ab72d8bc952578.tar.gz skyhanni-8edd0070a55d422e6470aaed09ab72d8bc952578.tar.bz2 skyhanni-8edd0070a55d422e6470aaed09ab72d8bc952578.zip |
Improvement: Add Pickobulus support to OreMineEvent (#2540)
Co-authored-by: ItsEmpa <itsempa@users.noreply.github.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt index 32b287cb9..c0c03b677 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt @@ -597,9 +597,9 @@ object SkyHanniDebugsAndTests { @HandleEvent(onlyOnSkyblock = true) fun onOreMined(event: OreMinedEvent) { if (!debugConfig.oreEventMessages) return - val originalOre = event.originalOre + val originalOre = event.originalOre?.let { "$it " } ?: "" val extraBlocks = event.extraBlocks.map { "${it.key.name}: ${it.value}" } - ChatUtils.debug("Mined: $originalOre (${extraBlocks.joinToString()})") + ChatUtils.debug("Mined: $originalOre(${extraBlocks.joinToString()})") } @SubscribeEvent |