2.8.14 | Bugfix: Player-Inv-Click #16
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>net.t2code</groupId>
|
||||
<artifactId>CommandGUI_V2</artifactId>
|
||||
<version>2.8.13</version>
|
||||
<version>2.8.14-DEV</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>CommandGUI</name>
|
||||
|
@ -48,6 +48,9 @@ public class GUIListener implements Listener {
|
||||
if (player.getOpenInventory().getTitle().equals(T2Creplace.replace(prefix, GUICode + gui.guiName))
|
||||
|| (Main.PaPi && player.getOpenInventory().getTitle().equals(T2Creplace.replace(prefix, player, GUICode + gui.guiName)))) {
|
||||
e.setCancelled(true);
|
||||
if (player.getOpenInventory().getTopInventory() != e.getClickedInventory()) {
|
||||
continue;
|
||||
}
|
||||
for (Slot slot : gui.slots) {
|
||||
execute(e, slot, player, gui);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user