mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 21:09:51 +00:00
Add camouflage system, add greenhouse door and clean up
This commit is contained in:
1 parent
7238886d00
commit
bde92c4afc
158 files changed
+1476
-491
No files matched your search
@@ -310,7 +310,7 @@ public class TradeStation extends WorldSavedData implements ITradeStation, IInve
|
||||
|
||||
for (ItemStack stack : InventoryUtil.getStacks(inventory, SLOT_SEND_BUFFER, SLOT_SEND_BUFFER_COUNT)) {
|
||||
if (stack != null && stack.isItemEqual(tradegood) && ItemStack.areItemStackTagsEqual(stack, tradegood)) {
|
||||
orderCount += (stack.stackSize / (float) tradegood.stackSize);
|
||||
orderCount += stack.stackSize / (float) tradegood.stackSize;
|
||||
if (orderCount >= max) {
|
||||
return max;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user