Skip to content

Commit

Permalink
Eeee
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarWitch7 committed Nov 15, 2024
1 parent 3d80cdc commit e948fbf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ public BridgedSlotHolder(Inventory inv) {

@Override
public void trickster$slot_holder$setStack(int slot, ItemStack stack) throws BlunderException {
if (inv.isValid(slot, stack))
inv.setStack(slot, stack);
if (!inv.isValid(slot, stack))
throw new ItemInvalidBlunder(Tricks.SWAP_SLOT); //TODO: this is a temporary trick until I feel like doing more work

throw new ItemInvalidBlunder(Tricks.SWAP_SLOT); //TODO: this is a temporary trick until I feel like doing more work
inv.setStack(slot, stack);
}

@Override
Expand Down

0 comments on commit e948fbf

Please sign in to comment.