fix engine detection for 5.4 due callbacks handler

* wrongly invoked register_on_authplayer over 5.0+ engines
main
mckaygerhard 2023-06-15 22:28:49 -04:00
parent 2aef6adf19
commit bf20c9f4bd
1 changed files with 1 additions and 1 deletions

View File

@ -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