fix priv check bug

fix priv check bug
master
tenplus1 2016-08-01 20:57:25 +01:00 committed by GitHub
parent 2b39fc2dbe
commit fffd7a2908
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ minetest.register_globalstep(function(dtime)
and player
and player:get_player_control().aux1
and player:get_player_control().up
and not minetest.check_player_privs(player, {fast = true})
and not minetest.check_player_privs(name, {fast = true})
and h > 6 then
set_sprinting(name, true)