Skip to content

Commit

Permalink
Duplicated variable name...
Browse files Browse the repository at this point in the history
  • Loading branch information
Elikill58 authored Sep 4, 2024
1 parent e21f236 commit 5ee9cca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void onClick(InventoryClickEvent e) {
InventoryHolder openInventoryHolder = null;
try {
openInventoryHolder = p.getOpenInventory().getTopInventory().getHolder();
} catch(java.lang.IncompatibleClassChangeError e) {} // ignore this
} catch(java.lang.IncompatibleClassChangeError exc) {} // ignore this

if (openInventoryHolder != null && openInventoryHolder instanceof CustomInventoryHolder) {
e.setCancelled(true);
Expand Down

0 comments on commit 5ee9cca

Please sign in to comment.