1.3_beta-2
A bug was fixed, if you use confirm via the gui and let another gui open via the alias, then this direnk was closed again.
This commit is contained in:
parent
020f33da07
commit
987370586a
2
pom.xml
2
pom.xml
@ -7,7 +7,7 @@
|
||||
<groupId>net.t2code</groupId>
|
||||
<artifactId>Alias</artifactId>
|
||||
|
||||
<version>1.3_beta-1</version>
|
||||
<version>1.3_beta-2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>T2C-Alias</name>
|
||||
|
@ -20,16 +20,16 @@ public class GuiListener implements Listener {
|
||||
if (e.getClickedInventory() != e.getWhoClicked().getOpenInventory().getTopInventory()) return;
|
||||
switch (e.getSlot()) {
|
||||
case 12:
|
||||
Cache.openPlayers.remove(player.getUniqueId());
|
||||
player.closeInventory();
|
||||
ExecuteAlias.storage(player, true);
|
||||
break;
|
||||
case 14:
|
||||
Cache.openPlayers.remove(player.getUniqueId());
|
||||
player.closeInventory();
|
||||
ExecuteAlias.storage(player, false);
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
Cache.openPlayers.remove(player.getUniqueId());
|
||||
player.closeInventory();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
Loading…
Reference in New Issue
Block a user