dont do drunk effects when player is riding boat/cart/horse etc.
This commit is contained in:
parent
2c70abd4e2
commit
b825006c0b
4
init.lua
4
init.lua
@ -207,7 +207,9 @@ local function stamina_globaltimer(dtime)
|
||||
|
||||
local name = player:get_player_name()
|
||||
|
||||
if stamina.players[name] and stamina.players[name].drunk then
|
||||
if stamina.players[name]
|
||||
and stamina.players[name].drunk
|
||||
and not player:get_attach() then
|
||||
|
||||
local yaw = player:get_look_horizontal()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user