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