Fix mistake in shop chest error message

master
rubenwardy 2018-11-26 01:34:56 +00:00
parent 9583e14bee
commit 42d792c4c3
1 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,7 @@ chest_template = {
local pname = player:get_player_name()
if not can_interact_with_chest(player, pos) then
minetest.chat_send_player(pname,
"You don't have permission to do that!\n" ..
"Go to the counter/till to purchase items")
"You don't have permission to do that! (Are you acting as the right company?)")
minetest.set_node(pos, { name = "air" })
return false
end
@ -106,7 +105,8 @@ chest_template = {
local pname = clicker:get_player_name()
if not can_interact_with_chest(clicker, pos) then
minetest.chat_send_player(pname,
"You don't have permission to do that! (Are you acting as the right company?)")
"You don't have permission to do that!\n" ..
"Go to the counter/till to purchase items")
return itemstack
end