mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 12:32:23 +00:00
Fix #847 TradeStation not outputting items to automation (also fix insertion filtering)
This commit is contained in:
1 parent
ad08b90be8
commit
9478ffb7c1
1 file changed
+7
@@ -58,6 +58,9 @@ public class TradeStation extends WorldSavedData implements ITradeStation, IInve
|
||||
for (int i = SLOT_STAMPS_1; i < SLOT_STAMPS_1 + SLOT_STAMPS_COUNT; i++) {
|
||||
slots.add(i);
|
||||
}
|
||||
for (int i = SLOT_RECEIVE_BUFFER; i < SLOT_RECEIVE_BUFFER + SLOT_RECEIVE_BUFFER_COUNT; i++) {
|
||||
slots.add(i);
|
||||
}
|
||||
for (int i = SLOT_SEND_BUFFER; i < SLOT_SEND_BUFFER + SLOT_SEND_BUFFER_COUNT; i++) {
|
||||
slots.add(i);
|
||||
}
|
||||
@@ -95,6 +98,10 @@ public class TradeStation extends WorldSavedData implements ITradeStation, IInve
|
||||
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public boolean isItemValidForSlot(int i, ItemStack itemstack) {
|
||||
return canSlotAccept(i, itemstack);
|
||||
}
|
||||
}
|
||||
|
||||
// / CONSTANTS
|
||||
|
||||
Reference in new issue
Block a user