mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Merge d18c71dd50eee332274faf5ad4c8e79de5b8cf12 into 19022f95a57f9c5a0efce14d32c32e508115f08e
This commit is contained in:
commit
73bcd07456
@ -78,7 +78,7 @@ class Trade(val info: TradeInfo) extends AbstractValue {
|
||||
if (!hasRoomForRecipe(inventory, recipe)) {
|
||||
result(false, "not enough inventory space to trade")
|
||||
} else {
|
||||
if (completeTrade(inventory, recipe, exact = true) || completeTrade(inventory, recipe, exact = false)) {
|
||||
if (completeTrade(inventory, recipe, exact = true)) {
|
||||
result(true)
|
||||
} else {
|
||||
result(false, "not enough items to trade")
|
||||
|
Loading…
x
Reference in New Issue
Block a user