Skip to content

Commit 95452a5

Browse files
committed
Make added items public
1 parent 541f85b commit 95452a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public abstract class AbstractInterfaceView<I : InterfacesInventory, P : Pane>(
5252
private val children = WeakHashMap<AbstractInterfaceView<*, *>, Unit>()
5353

5454
/** Added persistent items added when this interface was last closed. */
55-
private val addedItems = mutableMapOf<GridPoint, ItemStack>()
55+
public val addedItems: MutableMap<GridPoint, ItemStack> = mutableMapOf()
5656

5757
/** Whether the view is being painted for the first time. */
5858
protected var firstPaint: Boolean = true

0 commit comments

Comments
 (0)