mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 07:20:31 +01:00
Fixed little things for hunger reset (and a global variable local-ished)
This commit is contained in:
parent
56e5d7a9e6
commit
bc7309b977
|
@ -1,4 +1,3 @@
|
||||||
hunger
|
|
||||||
animalmaterials?
|
animalmaterials?
|
||||||
bushes_classic?
|
bushes_classic?
|
||||||
default?
|
default?
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user