Skip to content

Commit

Permalink
negate instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunnky committed Dec 11, 2023
1 parent 5e8a2ea commit 2574f5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void onPickupItem(@Nonnull EntityPickupItemEvent event) {
SlimefunItem packItem = SlimefunItem.getByItem(content);
if (packItem instanceof SeedPack) {
int packStack = content.getAmount();
if (packStack <= 1) {
if (packStack != 1) {
ItemMeta contentMeta = content.getItemMeta();
SeedPackInstance instance = PersistentDataAPI.get(
contentMeta,
Expand Down

0 comments on commit 2574f5c

Please sign in to comment.