Forgot to switch IntSortedSet to IntSet
This commit is contained in:
parent
fc1d9d6448
commit
8a4abb90bd
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user