Fixed ticketGUI

This commit is contained in:
Auxilor 2020-11-13 20:23:56 +00:00
parent bd88831832
commit 0d50c5e2a8

View File

@ -36,6 +36,7 @@ public class AnvilListeners implements Listener {
Player player = (Player) event.getViewers().get(0);
if(player.getOpenInventory().getTitle().toLowerCase().contains("quest")) return; // Fix for QuestsGUI
if(event.getView().getTitle().toLowerCase().contains("quest")) return; // Maybe this will fix it?
if(event.getView().getTitle().toLowerCase().contains("contents")) return; // Fix for ticketGui
Pair<ItemStack, Integer> newOut = AnvilMerge.doMerge(left, right, out, name, player);