Fixed filter slots not caring about max stack size, fixes #1707
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
### 1.5.33
|
||||
- Added Crafter Manager (raoulvdberge)
|
||||
- Fixed Disk Manipulator not extracting items (ineternet)
|
||||
- Fixed filter slots not caring about max stack size (raoulvdberge)
|
||||
- Various internal refactors (raoulvdberge)
|
||||
|
||||
### 1.5.32
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.raoulvdberge.refinedstorage;
|
||||
import com.raoulvdberge.refinedstorage.block.*;
|
||||
|
||||
public final class RSBlocks {
|
||||
// @todo: Switch to registry inject
|
||||
public static final BlockController CONTROLLER = new BlockController();
|
||||
public static final BlockCable CABLE = new BlockCable();
|
||||
public static final BlockGrid GRID = new BlockGrid();
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.raoulvdberge.refinedstorage;
|
||||
import com.raoulvdberge.refinedstorage.item.*;
|
||||
|
||||
public final class RSItems {
|
||||
// @todo: Switch to registry inject
|
||||
public static final ItemStorageDisk STORAGE_DISK = new ItemStorageDisk();
|
||||
public static final ItemWirelessGrid WIRELESS_GRID = new ItemWirelessGrid();
|
||||
public static final ItemWirelessFluidGrid WIRELESS_FLUID_GRID = new ItemWirelessFluidGrid();
|
||||
|
||||
@@ -87,7 +87,7 @@ public abstract class ContainerBase extends Container {
|
||||
if (dragType == 0) {
|
||||
amount = Math.max(1, amount - 1);
|
||||
} else if (dragType == 1) {
|
||||
amount = Math.min(64, amount + 1);
|
||||
amount = Math.min(slot.getStack().getMaxStackSize(), amount + 1);
|
||||
}
|
||||
|
||||
slot.getStack().setCount(amount);
|
||||
|
||||
Reference in New Issue
Block a user