From 166b06e265fab29d8042d787d388dffced2042f5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 1 Feb 2017 19:47:58 +0100 Subject: [PATCH] Fix broken minecart --- mods/mcl_minecarts/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/mcl_minecarts/init.lua b/mods/mcl_minecarts/init.lua index b135ccb5c5..bdd2331b0d 100644 --- a/mods/mcl_minecarts/init.lua +++ b/mods/mcl_minecarts/init.lua @@ -40,7 +40,7 @@ function mcl_minecarts.cart:on_rightclick(clicker) clicker:set_detach() elseif not self._driver then self._driver = player_name - default.player_attached[player_name] = true + mcl_core.player_attached[player_name] = true clicker:set_attach(self.object, "", {x=0, y=3, z=0}, {x=0, y=0, z=0}) end end @@ -72,7 +72,7 @@ function mcl_minecarts.cart:on_punch(puncher, time_from_last_punch, tool_capabil if self._old_pos then self.object:setpos(self._old_pos) end - default.player_attached[self._driver] = nil + mcl_core.player_attached[self._driver] = nil local player = minetest.get_player_by_name(self._driver) if player then player:set_detach() @@ -282,7 +282,7 @@ minetest.register_craftitem("mcl_minecarts:minecart", { minetest.register_craft({ output = "mcl_minecarts:minecart", recipe = { - {"default:steel_ingot", "", "default:steel_ingot"}, - {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, + {"mcl_core:steel_ingot", "", "mcl_core:steel_ingot"}, + {"mcl_core:steel_ingot", "mcl_core:steel_ingot", "mcl_core:steel_ingot"}, }, })