aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockhead <jbis1337@hotmail.com>2020-04-12 18:44:01 +1000
committerBlockhead <jbis1337@hotmail.com>2020-04-12 18:44:57 +1000
commite57c1eaa7fed32d12a3427735bda500e38006686 (patch)
treec0bc60fd0c98729b8851ba63eb4e8a4e1bc35161
parentf43254c2827821a61777616b90abef03325dbe2e (diff)
downloadadvtrains-e57c1eaa7fed32d12a3427735bda500e38006686.tar.gz
advtrains-e57c1eaa7fed32d12a3427735bda500e38006686.tar.bz2
advtrains-e57c1eaa7fed32d12a3427735bda500e38006686.zip
Remove debugging print statement
-rw-r--r--advtrains/wagons.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua
index 5eed514..3ee4399 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -1030,7 +1030,6 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
if fields.prop and data.owner==pname then
for _,wagon in pairs(minetest.luaentities) do
if wagon.is_wagon and wagon.initialized and wagon.id==uid then
- minetest.chat_send_player(player:get_player_name(), string.format("Opening wagon props from inv... (id=%s)", uid))
wagon:show_wagon_properties(pname)
--wagon:handle_bordcom_fields(player:get_player_name(), formname, fields)
end
@@ -1206,7 +1205,6 @@ function advtrains.standard_inventory_formspec(self, pname, invname)
local data = advtrains.wagons[self.id]
local r = "size[8,11]"..
"list["..invname..";box;0,0;8,3;]"
- minetest.chat_send_player(pname, string.format("self.owner=%s, pname=%s", data.owner, pname))
if data.owner==pname then
r = r .. "button_exit[0,9;4,1;prop;"..attrans("Wagon properties").."]"
end