Skip to content

Commit fb74dad

Browse files
committed
Suppress deprecation warnings
1 parent 8377986 commit fb74dad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Common/src/main/kotlin/gay/object/hexdebug/blocks/focusholder/FocusHolderBlock.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class FocusHolderBlock(properties: Properties) : BaseEntityBlock(properties) {
101101
}
102102

103103
override fun getDrops(state: BlockState, params: LootParams.Builder): MutableList<ItemStack> {
104+
@Suppress("DEPRECATION")
104105
val lootTableDrops = super.getDrops(state, params)
105106

106107
val blockEntity = params.getBlockEntity<FocusHolderBlockEntity>()

Common/src/main/kotlin/gay/object/hexdebug/blocks/splicing/SplicingTableBlock.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class SplicingTableBlock(properties: Properties, val enlightened: Boolean) : Bas
8484
getBlockEntity(level, pos)?.let {
8585
Containers.dropContents(level, pos, it)
8686
}
87+
@Suppress("DEPRECATION")
8788
super.onRemove(state, level, pos, newState, movedByPiston)
8889
}
8990
}

0 commit comments

Comments
 (0)