diff --git a/README.md b/README.md index f6a93ff4..938ac3f1 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ repositories { } dependencies { - compile 'fr.minuskube.inv:smart-invs:1.2.3' + compile 'fr.minuskube.inv:smart-invs:1.2.4' } ``` @@ -45,7 +45,7 @@ dependencies { fr.minuskube.inv smart-invs - 1.2.3 + 1.2.4 ``` diff --git a/build.gradle b/build.gradle index 75d7f6fe..1e440bea 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group 'fr.minuskube.inv' -version '1.2.3' +version '1.2.4' apply plugin: 'java' apply plugin: 'maven' diff --git a/src/main/java/fr/minuskube/inv/SmartInventory.java b/src/main/java/fr/minuskube/inv/SmartInventory.java index 13c6d95b..ac54b44a 100644 --- a/src/main/java/fr/minuskube/inv/SmartInventory.java +++ b/src/main/java/fr/minuskube/inv/SmartInventory.java @@ -78,7 +78,9 @@ public void close(Player player) { public InventoryType getType() { return type; } public int getRows() { return rows; } public int getColumns() { return columns; } + public boolean isCloseable() { return closeable; } + public void setCloseable(boolean closeable) { this.closeable = closeable; } public InventoryProvider getProvider() { return provider; } public Optional getParent() { return Optional.ofNullable(parent); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index c86a0891..a839891b 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: SmartInvs -version: 1.2.3 +version: 1.2.4 description: Inventory API for your Bukkit Plugins. author: MinusKube website: https://github.com/MinusKube/SmartInvs