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 | |
| parent | 156cf6d8b6a46a5d0d3eb6b00cb2b87a626f276e (diff) | |
| download | skyhanni-1181b4a7bdb7cd46144d5550abcd56e2ba284b4d.tar.gz skyhanni-1181b4a7bdb7cd46144d5550abcd56e2ba284b4d.tar.bz2 skyhanni-1181b4a7bdb7cd46144d5550abcd56e2ba284b4d.zip | |
more small editorconfig changes, code cleanup in random files
4 files changed, 4 insertions, 4 deletions
| diff --git a/.editorconfig b/.editorconfig index 60315ee75..e4b508818 100644 --- a/.editorconfig +++ b/.editorconfig @@ -54,4 +54,4 @@ ktlint_standard_wrapping = disabled  ktlint_standard_no-line-break-before-assignment = true  ktlint_standard_no-wildcard-imports = enabled -ktlint_standard_function-expression-body = enabled
\ No newline at end of file +ktlint_standard_function-expression-body = disabled
\ No newline at end of file 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 +} | 
