diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-09 19:55:28 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-09 19:55:28 +0200 |
commit | 1181b4a7bdb7cd46144d5550abcd56e2ba284b4d (patch) | |
tree | 77e579b35f1fc18b753ebe8b95f00c9cfe076c73 /src | |
parent | 156cf6d8b6a46a5d0d3eb6b00cb2b87a626f276e (diff) | |
download | skyhanni-1181b4a7bdb7cd46144d5550abcd56e2ba284b4d.tar.gz skyhanni-1181b4a7bdb7cd46144d5550abcd56e2ba284b4d.tar.bz2 skyhanni-1181b4a7bdb7cd46144d5550abcd56e2ba284b4d.zip |
more small editorconfig changes, code cleanup in random files
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/BlockRendererDispatcherHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/BlockRendererDispatcherHook.kt index 7622ac496..3f8f803b0 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/BlockRendererDispatcherHook.kt +++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/BlockRendererDispatcherHook.kt @@ -9,7 +9,6 @@ import net.minecraft.util.BlockPos import net.minecraft.world.IBlockAccess import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable - // Taken and modified from Skytils fun modifyGetModelFromBlockState( blockRendererDispatcher: BlockRendererDispatcher, diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt index dfd47464d..9cd88d194 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt +++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt @@ -26,7 +26,8 @@ fun tryToReplaceScoreboardLine(text: String): String? { return tryToReplaceScoreboardLineHarder(text) } catch (t: Throwable) { ErrorManager.logErrorWithData( - t, "Error while changing the scoreboard text.", + t, + "Error while changing the scoreboard text.", "text" to text ) return text diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiScreenHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiScreenHook.kt index 6ed537234..3c3c7fd70 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiScreenHook.kt +++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiScreenHook.kt @@ -5,4 +5,4 @@ import net.minecraft.item.ItemStack fun renderToolTip(stack: ItemStack) { RenderItemTooltipEvent(stack).postAndCatch() -}
\ No newline at end of file +} |