From 6ce92e5574786552864aaa21b6a7fb73c6d37589 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Fri, 2 Oct 2020 19:08:49 +0200 Subject: [PATCH] Improved inheritance of inventory type interfaces --- .../net/axay/kspigot/inventory/InventoryType.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/net/axay/kspigot/inventory/InventoryType.kt b/src/main/kotlin/net/axay/kspigot/inventory/InventoryType.kt index 7c6dd689..57c9dfba 100644 --- a/src/main/kotlin/net/axay/kspigot/inventory/InventoryType.kt +++ b/src/main/kotlin/net/axay/kspigot/inventory/InventoryType.kt @@ -41,14 +41,14 @@ class InventoryType( interface ForInventory -interface ForInventoryOneByNine : ForInventory -interface ForInventoryTwoByNine : ForInventory -interface ForInventoryThreeByNine : ForInventory -interface ForInventoryFourByNine : ForInventory -interface ForInventoryFiveByNine : ForInventory -interface ForInventorySixByNine : ForInventory interface ForInventoryThreeByThree : ForInventory interface ForInventoryOneByFive : ForInventory +interface ForInventoryOneByNine : ForInventoryOneByFive +interface ForInventoryTwoByNine : ForInventoryOneByNine +interface ForInventoryThreeByNine : ForInventoryTwoByNine, ForInventoryThreeByThree +interface ForInventoryFourByNine : ForInventoryThreeByNine +interface ForInventoryFiveByNine : ForInventoryFourByNine +interface ForInventorySixByNine : ForInventoryFiveByNine interface ForEveryInventory : ForInventoryOneByNine, ForInventoryTwoByNine, ForInventoryThreeByNine,