From 3abe6718516eedb5afc09b11b92f850a39ceec9f Mon Sep 17 00:00:00 2001 From: Julian Krings Date: Thu, 18 Dec 2025 18:53:59 +0100 Subject: [PATCH] suppress unchecked cast warning for the ChunkedDataCache --- .../main/kotlin/com/volmit/iris/util/context/ChunkedDataCache.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/kotlin/com/volmit/iris/util/context/ChunkedDataCache.kt b/core/src/main/kotlin/com/volmit/iris/util/context/ChunkedDataCache.kt index a730a7aca..679b9c42f 100644 --- a/core/src/main/kotlin/com/volmit/iris/util/context/ChunkedDataCache.kt +++ b/core/src/main/kotlin/com/volmit/iris/util/context/ChunkedDataCache.kt @@ -35,6 +35,7 @@ class ChunkedDataCache private constructor( } @BlockCoordinates + @Suppress("UNCHECKED_CAST") fun get(x: Int, z: Int): T? { if (!cache) { return stream.get((this.x + x).toDouble(), (this.z + z).toDouble())