Skip to content

Commit

Permalink
Added comment to fix made for #2
Browse files Browse the repository at this point in the history
  • Loading branch information
lMartin3 committed Mar 11, 2022
1 parent d1f11db commit 6eadce3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void onClick(InventoryClickEvent e) {
if (clickedInventory.getType() != InventoryType.PLAYER) {
return;
}
/* Prevents players from opening a shulker if they have another inventory open */
if(player.getOpenInventory().getTopInventory().getType()!=InventoryType.CRAFTING) {
return;
}
Expand Down

0 comments on commit 6eadce3

Please sign in to comment.