Interface NBT/Metadata check fix (updated) (#1646)
* fixes #1643 * Update CHANGELOG.md
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
- Fixed 2 same stacks using capabilities without NBT tag not treated equal (raoulvdberge)
|
- Fixed 2 same stacks using capabilities without NBT tag not treated equal (raoulvdberge)
|
||||||
- Changed stack quantity of craftable items from 1 to 0 to fix Quantity Sorting (ineternet)
|
- Changed stack quantity of craftable items from 1 to 0 to fix Quantity Sorting (ineternet)
|
||||||
- Changed fluid stack amount to not display "0" anymore (ineternet)
|
- Changed fluid stack amount to not display "0" anymore (ineternet)
|
||||||
|
- Fixed NBT/metadata check on exporting in an Interface (ineternet)
|
||||||
|
|
||||||
### 1.5.31
|
### 1.5.31
|
||||||
- Improved the "cannot craft! loop in processing..." error message (raoulvdberge)
|
- Improved the "cannot craft! loop in processing..." error message (raoulvdberge)
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ public class NetworkNodeInterface extends NetworkNode implements IComparable {
|
|||||||
if (!got.isEmpty()) {
|
if (!got.isEmpty()) {
|
||||||
exportItems.setStackInSlot(i, StackUtils.nullToEmpty(network.insertItemTracked(got, got.getCount())));
|
exportItems.setStackInSlot(i, StackUtils.nullToEmpty(network.insertItemTracked(got, got.getCount())));
|
||||||
}
|
}
|
||||||
} else if (!got.isEmpty() && !API.instance().getComparer().isEqualNoQuantity(wanted, got)) {
|
} else if (!got.isEmpty() && !API.instance().getComparer().isEqual(wanted, got, getCompare())) {
|
||||||
exportItems.setStackInSlot(i, StackUtils.nullToEmpty(network.insertItemTracked(got, got.getCount())));
|
exportItems.setStackInSlot(i, StackUtils.nullToEmpty(network.insertItemTracked(got, got.getCount())));
|
||||||
} else {
|
} else {
|
||||||
int delta = got.isEmpty() ? wanted.getCount() : (wanted.getCount() - got.getCount());
|
int delta = got.isEmpty() ? wanted.getCount() : (wanted.getCount() - got.getCount());
|
||||||
|
|||||||
Reference in New Issue
Block a user