mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-09-04 01:56:24 +02:00
fixed bug (called function in wrong mod)
This commit is contained in:
parent
1eb272ecb2
commit
0d88093a45
@ -138,12 +138,12 @@ yl_speak_up.get_fs_trade_limit = function(player, selected)
|
|||||||
|
|
||||||
-- everything for which there's already a sell_if_more limit
|
-- everything for which there's already a sell_if_more limit
|
||||||
for k,v in pairs(dialog.trades.limits.sell_if_more) do
|
for k,v in pairs(dialog.trades.limits.sell_if_more) do
|
||||||
mob_trading.insert_item_limitation( items, k, 2, v )
|
yl_speak_up.insert_trade_item_limitation( items, k, 2, v )
|
||||||
end
|
end
|
||||||
|
|
||||||
-- everything for which there's already a buy_if_less limit
|
-- everything for which there's already a buy_if_less limit
|
||||||
for k,v in pairs(dialog.trades.limits.buy_if_less ) do
|
for k,v in pairs(dialog.trades.limits.buy_if_less ) do
|
||||||
mob_trading.insert_item_limitation( items, k, 3, v )
|
yl_speak_up.insert_trade_item_limitation( items, k, 3, v )
|
||||||
end
|
end
|
||||||
|
|
||||||
-- all items for which limitations might possibly be needed have been collected;
|
-- all items for which limitations might possibly be needed have been collected;
|
||||||
|
Loading…
Reference in New Issue
Block a user