mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 23:33:00 +00:00
1 parent
9d8e572ac8
commit
07afdf63b1
3 files changed
+27
-6
No files matched your search
@@ -137,6 +137,13 @@ public class MachineTrader extends TileBase implements ISpecialInventory, ISided
|
||||
return;
|
||||
}
|
||||
|
||||
if (inventory instanceof TradeStation) {
|
||||
if (!((TradeStation)inventory).canReceivePayment()) {
|
||||
setErrorState(EnumErrorCode.NOSPACE);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
setErrorState(EnumErrorCode.OK);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user