mirror of
https://github.com/Sokomine/locks.git
synced 2025-01-09 22:17:32 +01:00
made the sign work with 0.4.10
This commit is contained in:
parent
1d33138153
commit
acc753fbd9
@ -44,11 +44,6 @@ minetest.register_node("locks:shared_locked_sign_wall", {
|
|||||||
|
|
||||||
on_receive_fields = function(pos, formname, fields, sender)
|
on_receive_fields = function(pos, formname, fields, sender)
|
||||||
|
|
||||||
-- abort if no input has been sent
|
|
||||||
if( fields.quit ) then
|
|
||||||
return;
|
|
||||||
end
|
|
||||||
|
|
||||||
-- if the user already has the right to use this and did input text
|
-- if the user already has the right to use this and did input text
|
||||||
if( fields.text
|
if( fields.text
|
||||||
and ( not(fields.locks_sent_lock_command)
|
and ( not(fields.locks_sent_lock_command)
|
||||||
|
Loading…
Reference in New Issue
Block a user