fixed pausing villagers

master
theFox6 2018-05-23 15:57:06 +02:00
parent a8f3b98706
commit 6f899a8ef0
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ minetest.register_tool("working_villages:commanding_sceptre", {
if type(job.on_pause)=="function" then
job.on_pause(luaentity)
end
self.object:setvelocity{x = 0, y = 0, z = 0}
self:set_animation(working_villages.animation_frames.STAND)
luaentity:update_infotext()
end
end