fix maidroid/api

This commit is contained in:
tacigar 2016-12-21 16:47:31 +09:00
parent 57192805af
commit 5f64a877e8
1 changed files with 0 additions and 2 deletions

View File

@ -360,7 +360,6 @@ function maidroid.register_maidroid(product_name, def)
.. "list[detached:"..self.inventory_name..";core;4.5,1.5;1,1;]"
.. "list[current_player;main;0,5;8,1;]"
.. "list[current_player;main;0,6.2;8,3;8]"
.. "button[7,0.25;1,0.875;apply_name;Apply]"
.. "label[5.5,1;wield]"
.. "list[detached:"..self.inventory_name..";wield_item;5.5,1.5;1,1;]"
end
@ -479,7 +478,6 @@ function maidroid.register_maidroid(product_name, def)
-- on_rightclick is a callback function that is called when a player right-click them.
local function on_rightclick(self, clicker)
formspec_opened_maidroids[clicker] = self
minetest.show_formspec(
clicker:get_player_name(),
"maidroid:gui",