_
This commit is contained in:
parent
fdfb0507dc
commit
c33dbbb281
@ -61,8 +61,6 @@ minetest.register_node("memorandum:letter_empty", {
|
|||||||
end,
|
end,
|
||||||
on_receive_fields = function(pos, formname, fields, sender)
|
on_receive_fields = function(pos, formname, fields, sender)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
fields.text = fields.text
|
|
||||||
fields.signed = fields.signed
|
|
||||||
--[[print((sender:get_player_name() or "").." wrote \""..fields.text..
|
--[[print((sender:get_player_name() or "").." wrote \""..fields.text..
|
||||||
"\" to paper at "..minetest.pos_to_string(pos))]]
|
"\" to paper at "..minetest.pos_to_string(pos))]]
|
||||||
local fdir = minetest.get_node(pos).param2
|
local fdir = minetest.get_node(pos).param2
|
||||||
@ -163,8 +161,6 @@ minetest.register_node("memorandum:letter_written", {
|
|||||||
local item = sender:get_wielded_item()
|
local item = sender:get_wielded_item()
|
||||||
if item:get_name() == "memorandum:eraser" then
|
if item:get_name() == "memorandum:eraser" then
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
fields.text = fields.text
|
|
||||||
fields.signed = fields.signed
|
|
||||||
--[[print((sender:get_player_name() or "").." wrote \""..fields.text..
|
--[[print((sender:get_player_name() or "").." wrote \""..fields.text..
|
||||||
"\" to paper at "..minetest.pos_to_string(pos))]]
|
"\" to paper at "..minetest.pos_to_string(pos))]]
|
||||||
local fdir = minetest.get_node(pos).param2
|
local fdir = minetest.get_node(pos).param2
|
||||||
|
Loading…
Reference in New Issue
Block a user