Skip to content

Commit

Permalink
Add backpack check
Browse files Browse the repository at this point in the history
  • Loading branch information
Intybyte committed Jan 9, 2025
1 parent f4e3c9c commit d74b812
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ public boolean isItemAllowed(@Nonnull ItemStack item, @Nullable SlimefunItem ite
return false;
}

// Bundles aren't allowed either
if (SlimefunTag.BUNDLES.isTagged(item.getType())) {
return false;
}

return !(itemAsSlimefunItem instanceof SlimefunBackpack);
}

Expand Down

0 comments on commit d74b812

Please sign in to comment.