Fixes #111 "interface overflowing"
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Refined Storage Changelog
|
||||
|
||||
### 0.7.12
|
||||
**Bugfixes**
|
||||
- Fixed interface overflowing
|
||||
|
||||
### 0.7.11
|
||||
**Bugfixes**
|
||||
- Fixed crash with wireless grid
|
||||
|
@@ -121,7 +121,7 @@ public abstract class NBTStorage implements IStorage {
|
||||
int remainingSpace = getCapacity() - getStored();
|
||||
|
||||
if (remainingSpace <= 0) {
|
||||
return stack;
|
||||
return ItemHandlerHelper.copyStackWithSize(stack, size);
|
||||
}
|
||||
|
||||
if (!simulate) {
|
||||
@@ -151,7 +151,7 @@ public abstract class NBTStorage implements IStorage {
|
||||
int remainingSpace = getCapacity() - getStored();
|
||||
|
||||
if (remainingSpace <= 0) {
|
||||
return stack;
|
||||
return ItemHandlerHelper.copyStackWithSize(stack, size);
|
||||
}
|
||||
|
||||
if (!simulate) {
|
||||
|
Reference in New Issue
Block a user