diff --git a/src/main/kotlin/net/axay/kspigot/gui/GUISlots.kt b/src/main/kotlin/net/axay/kspigot/gui/GUISlots.kt index c00d7166..4b63afa3 100644 --- a/src/main/kotlin/net/axay/kspigot/gui/GUISlots.kt +++ b/src/main/kotlin/net/axay/kspigot/gui/GUISlots.kt @@ -227,6 +227,10 @@ class InventoryCornerSlots internal constructor( } +class InventoryAllSlots : InventorySlotCompound { + override fun withInvType(invType: GUIType) = invType.dimensions.invSlots +} + // SLOT TYPE SAFETY // COLUMNS @@ -374,4 +378,7 @@ object Slots { val CornerTopLeft = InventoryCornerSlots(ifTopLeft = true) val CornerTopRight = InventoryCornerSlots(ifTopRight = true) + // ALL + val All = InventoryAllSlots() + } \ No newline at end of file