From 3a8a24b32f4bdfcbbc8c815b22b86afb051c22db Mon Sep 17 00:00:00 2001 From: mckayshirou Date: Mon, 7 Aug 2023 03:38:41 -0400 Subject: [PATCH] remove extra check innecesary, fix crash from previous commit * if no data, then is initialized again.. so must be avoid checks there --- anticheats.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/anticheats.lua b/anticheats.lua index aaa51f6..631efd0 100644 --- a/anticheats.lua +++ b/anticheats.lua @@ -17,7 +17,6 @@ end -- obtain player data cheats, improved respect beowulf with missing checks and methods local function get_player_data(name) - if not is_player(player) then return nil end local player = minetest.get_player_by_name(name) if not player_data[name] then player_data[name] = {