diff --git a/README.md b/README.md index 038fe62..f85dc2c 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,9 @@ Dependencies: Minetest Game or MineClone. * Ice and obsidian can now be transmuted into water and lava, respectively. * It is now impossible to transmute between bedrock and barriers (MCL). I don't know why I did it in the first place :D +### 5.3 +* Fixed shearing beehives in MCL (thanks @Ranko-Saotome!) + ### 5.2 * Bugfixes * Removed unnecessary logging every time players take damage (I was testing stuff out with the armor) @@ -87,7 +90,7 @@ Dependencies: Minetest Game or MineClone. * Red Matter Armor no longer increases player health (the wiki lied to me). * A couple of changes to DM/RM armor in MineClone, which may or may not be noticeable. I really don't know. * Bugfixes: - * Fixed Mineclonia energy values (I foolishly assumed that all items would have the same itemstrings and groups). + * Fixed Mineclonia energy values (I foolishly assumed that all items would have the same itemstrings and groups, thanks @Ranko-Saotome for reporting this). ### 5.0 (the most insteresting release so far) **You MUST break and replace any existing Constructors, Deconstructors, and Energy Collectors when updating from any previous version. Nothing will be lost (hopefully). In Minetest Game, this is a bit of a problem (try blowing it up maybe? I don't know, sorry).** diff --git a/exchangeclone/armor.lua b/exchangeclone/armor.lua index 051d933..673d829 100644 --- a/exchangeclone/armor.lua +++ b/exchangeclone/armor.lua @@ -111,6 +111,7 @@ if exchangeclone.mcl then end mcl_damage.register_modifier(function(obj, damage, reason) + minetest.log(dump({damage, reason})) local blocked = blocked_damage_types[reason.type] local inv = mcl_util.get_inventory(obj) if inv then diff --git a/exchangeclone/shears.lua b/exchangeclone/shears.lua index 0f7da8a..63b0820 100644 --- a/exchangeclone/shears.lua +++ b/exchangeclone/shears.lua @@ -241,7 +241,7 @@ for _, itemstring in ipairs({"mcl_beehives:bee_nest_5", "mcl_beehives:beehive_5" minetest.registered_items[itemstring].on_rightclick = function(pos, node, player, itemstack, pointed_thing) local held_name = player:get_wielded_item():get_name() local shears = special_shears[held_name] - local beehive = "mcl_beehives:beehive" + local beehive local campfire_area = vector.offset(pos, 0, -5, 0) local campfire = minetest.find_nodes_in_area(pos, campfire_area, "group:lit_campfire") @@ -256,7 +256,7 @@ for _, itemstring in ipairs({"mcl_beehives:bee_nest_5", "mcl_beehives:beehive_5" minetest.set_node(pos, node) if not campfire[1] then mcl_util.deal_damage(player, 3) end --significantly less damage else - old_honey_harvest() + old_honey_harvest(pos, node, player, itemstack, pointed_thing) end end end