From a01c3d134209f7aa87715938aeeaf2c0545d8819 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Mon, 31 Oct 2022 19:51:31 +0000 Subject: [PATCH] Pumkin price unreasonable and fix logging. --- mods/ENTITIES/mobs_mc/villager.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/villager.lua b/mods/ENTITIES/mobs_mc/villager.lua index c65d63938..ac5d3a285 100644 --- a/mods/ENTITIES/mobs_mc/villager.lua +++ b/mods/ENTITIES/mobs_mc/villager.lua @@ -107,7 +107,7 @@ local professions = { }, { - { { "mcl_farming:pumpkin", 8, 13 }, E1 }, + { { "mcl_farming:pumpkin", 6, 7 }, E1 }, { E1, { "mcl_farming:pumpkin_pie", 2, 3} }, { E1, { "mcl_core:apple", 2, 3} }, }, @@ -797,10 +797,10 @@ local function unlock_trades (self) if trades and type(trades) == "table" then for trader, trade in pairs(trades) do local trade_tier_too_high = trade.tier > self._max_trade_tier - mcl_log("Max trade tier of villager: ".. tostring(self._max_trade_tier)) - mcl_log("current trade.tier: ".. tostring(trade.tier)) + --mcl_log("Max trade tier of villager: ".. tostring(self._max_trade_tier)) + --mcl_log("current trade.tier: ".. tostring(trade.tier)) mcl_log("trade tier too high: ".. tostring(trade_tier_too_high)) - mcl_log("locked: ".. tostring(trade["locked"])) + --mcl_log("locked: ".. tostring(trade["locked"])) if not trade_tier_too_high then if trade["locked"] == true then trade.locked = false