Skip to content

Commit e7a24c7

Browse files
committed
Update version to 1.2.4, add setCloseable(boolean) to fix #26
1 parent 554f2fd commit e7a24c7

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repositories {
3636
}
3737
3838
dependencies {
39-
compile 'fr.minuskube.inv:smart-invs:1.2.3'
39+
compile 'fr.minuskube.inv:smart-invs:1.2.4'
4040
}
4141
```
4242

@@ -45,7 +45,7 @@ dependencies {
4545
<dependency>
4646
<groupId>fr.minuskube.inv</groupId>
4747
<artifactId>smart-invs</artifactId>
48-
<version>1.2.3</version>
48+
<version>1.2.4</version>
4949
</dependency>
5050
```
5151

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'fr.minuskube.inv'
2-
version '1.2.3'
2+
version '1.2.4'
33

44
apply plugin: 'java'
55
apply plugin: 'maven'

src/main/java/fr/minuskube/inv/SmartInventory.java

+2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ public void close(Player player) {
7878
public InventoryType getType() { return type; }
7979
public int getRows() { return rows; }
8080
public int getColumns() { return columns; }
81+
8182
public boolean isCloseable() { return closeable; }
83+
public void setCloseable(boolean closeable) { this.closeable = closeable; }
8284

8385
public InventoryProvider getProvider() { return provider; }
8486
public Optional<SmartInventory> getParent() { return Optional.ofNullable(parent); }

src/main/resources/plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: SmartInvs
2-
version: 1.2.3
2+
version: 1.2.4
33
description: Inventory API for your Bukkit Plugins.
44
author: MinusKube
55
website: https://github.com/MinusKube/SmartInvs

0 commit comments

Comments
 (0)