nodecore-cd2025/mods/nc_player_setup/step_stepheight.lua

12 lines
340 B
Lua
Raw Normal View History

2020-06-22 22:46:48 -04:00
-- LUALOCALS < ---------------------------------------------------------
local nodecore
= nodecore
-- LUALOCALS > ---------------------------------------------------------
nodecore.register_playerstep({
label = "stepheight",
action = function(_, data)
data.properties.stepheight = data.control.sneak and 0.001 or 1.05
end
})