Skip to content

Commit cd0cbf6

Browse files
committed
Remove unused extensions
1 parent aad2a43 commit cd0cbf6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Common/src/main/kotlin/gay/object/hexdebug/utils/Extensions.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import at.petrak.hexcasting.api.casting.mishaps.MishapNotEnoughArgs
1111
import at.petrak.hexcasting.api.utils.*
1212
import at.petrak.hexcasting.common.casting.PatternRegistryManifest
1313
import at.petrak.hexcasting.xplat.IXplatAbstractions
14-
import com.google.gson.JsonObject
1514
import gay.`object`.hexdebug.api.splicing.SplicingTableIotaClientView
1615
import net.minecraft.network.chat.*
1716
import net.minecraft.world.Container
@@ -238,13 +237,3 @@ fun <T : Comparable<T>, V : T> BlockEntity.setPropertyIfChanged(property: Proper
238237
level?.setBlockAndUpdate(blockPos, blockState.setValue(property, value))
239238
}
240239
}
241-
242-
// JSON
243-
244-
fun JsonObject.addDefaultProperty(property: String, value: String) {
245-
if (!has(property)) addProperty(property, value)
246-
}
247-
248-
fun JsonObject.addDefaultProperty(property: String, value: Int) {
249-
if (!has(property)) addProperty(property, value)
250-
}

0 commit comments

Comments
 (0)