forked from Sokomine/yl_speak_up
made mobs(redo) an optional dependency
This commit is contained in:
parent
dd5ea7e38f
commit
6626273867
2
init.lua
2
init.lua
@ -57,7 +57,7 @@ yl_speak_up.custom_server_functions = {}
|
|||||||
yl_speak_up.mob_table = {}
|
yl_speak_up.mob_table = {}
|
||||||
|
|
||||||
-- the real implementation happens in interface_mobs_api.lua
|
-- the real implementation happens in interface_mobs_api.lua
|
||||||
-- mobs.lua may need this at an earlier point
|
-- mob implementations may need this at an earlier point
|
||||||
yl_speak_up.mobs_on_rightclick = function(self, clicker)
|
yl_speak_up.mobs_on_rightclick = function(self, clicker)
|
||||||
if(not(yl_speak_up.do_mobs_on_rightclick)) then
|
if(not(yl_speak_up.do_mobs_on_rightclick)) then
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user