fix engine detection for 5.4 due callbacks handler
* wrongly invoked register_on_authplayer over 5.0+ engines
This commit is contained in:
parent
2aef6adf19
commit
bf20c9f4bd
2
init.lua
2
init.lua
@ -24,7 +24,7 @@ local auth_filter = AuthFilter( world_path, "greenlist.mt" )
|
||||
local auth_db = AuthDatabase( world_path, "auth.db" )
|
||||
local auth_watchdog = AuthWatchdog( )
|
||||
local is_50 = minetest.has_feature("object_use_texture_alpha")
|
||||
local is_54 = minetest.has_feature("object_use_texture_alpha")
|
||||
local is_54 = minetest.has_feature("direct_velocity_on_players")
|
||||
|
||||
if is_50 then
|
||||
if minetest.register_on_auth_fail then
|
||||
|
Loading…
x
Reference in New Issue
Block a user