diff --git a/CommandGUI V2/pom.xml b/CommandGUI V2/pom.xml
index 1f2ab08..24fa0b8 100644
--- a/CommandGUI V2/pom.xml
+++ b/CommandGUI V2/pom.xml
@@ -6,7 +6,7 @@
net.t2code
CommandGUI_V2
- 2.8.13
+ 2.8.14-DEV
jar
CommandGUI
diff --git a/CommandGUI V2/src/main/java/net/t2code/commandguiv2/Spigot/gui/GUIListener.java b/CommandGUI V2/src/main/java/net/t2code/commandguiv2/Spigot/gui/GUIListener.java
index 0c2e21c..ca12e51 100644
--- a/CommandGUI V2/src/main/java/net/t2code/commandguiv2/Spigot/gui/GUIListener.java
+++ b/CommandGUI V2/src/main/java/net/t2code/commandguiv2/Spigot/gui/GUIListener.java
@@ -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);
}