Skip to content

Commit

Permalink
Update version to 1.2.4, add setCloseable(boolean) to fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
MinusKube committed Sep 8, 2018
1 parent 554f2fd commit e7a24c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repositories {
}
dependencies {
compile 'fr.minuskube.inv:smart-invs:1.2.3'
compile 'fr.minuskube.inv:smart-invs:1.2.4'
}
```

Expand All @@ -45,7 +45,7 @@ dependencies {
<dependency>
<groupId>fr.minuskube.inv</groupId>
<artifactId>smart-invs</artifactId>
<version>1.2.3</version>
<version>1.2.4</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'fr.minuskube.inv'
version '1.2.3'
version '1.2.4'

apply plugin: 'java'
apply plugin: 'maven'
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/fr/minuskube/inv/SmartInventory.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<SmartInventory> getParent() { return Optional.ofNullable(parent); }
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e7a24c7

Please sign in to comment.