Skip to content

Commit

Permalink
Fix stonecutter comments
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed Oct 23, 2024
1 parent abf2684 commit e05c903
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/kotlin/dev/isxander/zoomify/utils/MinecraftExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ fun GuiGraphics.scale(x: Float, y: Float, z: Float) = pose().scale(x, y, z)

// i love kotlin
typealias ToastTypes =
/*? if >1.20.1 {*/
//? if >1.20.1 {
SystemToast.SystemToastId
/*?} else {*/
//?} else {
/*SystemToast.SystemToastIds
*//*?}*/
*///?}

fun toast(
title: Component,
Expand All @@ -32,7 +32,7 @@ fun toast(
title,
description
).also {
val toastManager = /*? if >=1.21.2 {*/ minecraft.toastManager /*?} else {*/ /*minecraft.toasts }*//*?}*/
val toastManager = /*? if >=1.21.2 {*/ minecraft.toastManager /*?} else {*/ /*minecraft.toasts *//*?}*/
toastManager.addToast(it)
}

Expand Down

0 comments on commit e05c903

Please sign in to comment.