Skip to content

Commit eae8b95

Browse files
committed
Fix error when disabling and enabling the plugin
1 parent 75ea089 commit eae8b95

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Small and easy Bukkit inventory API with 1.7 to 1.14 support !
5757
<dependency>
5858
<groupId>fr.mrmicky</groupId>
5959
<artifactId>FastInv</artifactId>
60-
<version>3.0.1</version>
60+
<version>3.0.2</version>
6161
<scope>compile</scope>
6262
</dependency>
6363
</dependencies>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>fr.mrmicky</groupId>
88
<artifactId>fastinv</artifactId>
9-
<version>3.0.1</version>
9+
<version>3.0.2</version>
1010

1111
<name>FastInv</name>
1212
<url>https://github.com/MrMicky-FR/FastInv</url>

src/main/java/fr/mrmicky/fastinv/FastInvManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ public void onInventoryClose(InventoryCloseEvent e) {
8080
public void onPluginDisable(PluginDisableEvent e) {
8181
if (e.getPlugin() == plugin) {
8282
closeAll();
83+
84+
REGISTER.set(false);
8385
}
8486
}
8587
}, plugin);

0 commit comments

Comments
 (0)