Fixes #111 "interface overflowing"

This commit is contained in:
Raoul Van den Berge
2016-06-14 18:21:10 +02:00
parent 984abd9590
commit 9fbd463dbb
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# Refined Storage Changelog
### 0.7.12
**Bugfixes**
- Fixed interface overflowing
### 0.7.11
**Bugfixes**
- Fixed crash with wireless grid

View File

@@ -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) {