Forgot to switch IntSortedSet to IntSet

This commit is contained in:
DBotThePony 2025-02-27 21:08:00 +07:00
parent fc1d9d6448
commit 8a4abb90bd
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -44,7 +44,7 @@ val Container.slotRange: IntRange2Set get() {
return IntRange2Set.openEnded(0, containerSize)
}
fun Container.addItem(stack: ItemStack, simulate: Boolean, slots: IntSortedSet = slotRange): ItemStack {
fun Container.addItem(stack: ItemStack, simulate: Boolean, slots: IntSet = slotRange): ItemStack {
return IEnhancedContainer.wrap(this).addItem(stack, simulate, slots)
}