Skip to content

Commit

Permalink
Update dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Edivad99 committed Feb 20, 2024
1 parent 3810e3c commit 3e9f7de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ mod_license=https://github.com/railcraft-reborn/railcraft/blob/1.20.x/LICENSE.md

# Dependencies
mixin_version=0.8.5
jupiter_version=5.10.0
jupiter_version=5.10.1
jei_version=15.2.0.27
patchouli_version=1.20.1-84-FORGE
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public ItemStack quickMoveStack(Player player, int slotIndex) {
var slot = this.slots.get(slotIndex);
final int numSlots = this.slots.size();
final int slotsAdded = numSlots - 9 * 4;
if (slot.hasItem()) {
if (slot.hasItem() && slotsAdded > 0) {
var stackInSlot = slot.getItem();
originalStack = stackInSlot.copy();
if (slotIndex < slotsAdded) { // Custom slots to vanilla inventory slots
Expand Down

0 comments on commit 3e9f7de

Please sign in to comment.