Fix crash when npc close a door

Comment debug messages
This commit is contained in:
sys4-fr
2018-03-27 23:29:04 +02:00
parent dfaa904ba8
commit 97da2dc191
10 changed files with 90 additions and 87 deletions

View File

@ -233,7 +233,7 @@ npc.relationships.register_disliked_item("default:cobble", "male", {
hints = {"If I really hate something, that's cobblestone!"}
})
npc.log("DEBUG", "Registered gift items: "..dump(npc.relationships.gift_items))
npc.log("DEBUG", "Registered dialogues: "..dump(npc.dialogue.registered_dialogues))
--npc.log("DEBUG", "Registered gift items: "..dump(npc.relationships.gift_items))
--npc.log("DEBUG", "Registered dialogues: "..dump(npc.dialogue.registered_dialogues))
npc.log("INFO", "Registered gift items count: "..dump(#npc.relationships.gift_items))
npc.log("INFO", "Registered dialogues count: "..dump(#npc.dialogue.registered_dialogues))
npc.log("INFO", "Registered dialogues count: "..dump(#npc.dialogue.registered_dialogues))