Suppressed warning

This commit is contained in:
Auxilor
2022-03-02 18:51:07 +00:00
parent 6362931e6b
commit c573da6e31

View File

@@ -151,13 +151,14 @@ class EcoFastItemStack(
return this.flagBits and bitModifier == bitModifier
}
@Suppress("UNNECESSARY_NOT_NULL_ASSERTION")
private var flagBits: Int
get() =
if (handle.hasTag() && handle.getTag().contains(
if (handle.hasTag() && handle.getTag()!!.contains(
"HideFlags",
99
)
) handle.getTag().getInt("HideFlags") else 0
) handle.getTag()!!.getInt("HideFlags") else 0
set(value) =
handle.getOrCreateTag().putInt("HideFlags", value)