12 lines
340 B
Lua
12 lines
340 B
Lua
-- 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
|
|
})
|