aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/mixins/hooks/BlockRendererDispatcherHook.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiScreenHook.kt2
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
+}