diff --git a/rules.lua b/rules.lua index 820bd80..3cccb3f 100644 --- a/rules.lua +++ b/rules.lua @@ -219,8 +219,9 @@ function lc_liberties.handle_placement(pos) else local captures = check_captures(pos) if captures.capture then - minetest.chat_send_all("You gotcher self a suicide move right there! size: "..#(captures.stones)) - -- todo: replace with itemstack of one stone + local stone = minetest.get_node(pos).name + nodecore.set_loud(pos, {name = "air"}) + nodecore.item_eject(pos, stone) end end end