1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-28 15:30:33 +02:00

Fixed little things for hunger reset (and a global variable local-ished)

This commit is contained in:
LeMagnesium 2015-04-13 22:26:49 +02:00
parent 56e5d7a9e6
commit bc7309b977
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
hunger
animalmaterials? animalmaterials?
bushes_classic? bushes_classic?
default? default?

View File

@ -185,7 +185,7 @@ function meta:think()
self.lastThought = socket.gettime() self.lastThought = socket.gettime()
end end
local handlers = handlers local handlers = rawget(G_, "handlers")
function meta:handle(msg) function meta:handle(msg)
local handler = irc.handlers[msg.command] local handler = irc.handlers[msg.command]