From b51d1fd45175e4a3bcc2473d2d6389a4bda28b12 Mon Sep 17 00:00:00 2001 From: OgelGames Date: Sun, 19 Jun 2022 17:42:16 +1000 Subject: [PATCH] don't add workaround for bones redo --- bones.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bones.lua b/bones.lua index 90c9ba8..2cd7645 100644 --- a/bones.lua +++ b/bones.lua @@ -1,6 +1,11 @@ -- bones owner saving workaround -- https://github.com/minetest/minetest_game/blob/master/mods/bones/init.lua#L120 +if bones.redo then + -- bones redo doesn't remove owner, so workaround is not needed + return +end + local bones_def = minetest.registered_items["bones:bones"] assert(bones_def)