mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
Update api.lua
This commit is contained in:
parent
8cd3788fcc
commit
b139227932
@ -461,7 +461,7 @@ function mobs:register_mob(name, def)
|
||||
else
|
||||
if self.jump and self.get_velocity(self) <= 0.5 and self.object:getvelocity().y == 0 then
|
||||
local v = self.object:getvelocity()
|
||||
v.y = 6.5 -- 6 (in older api.lua version)
|
||||
v.y = 7 -- 6/6.5 (in older api.lua version)
|
||||
self.object:setvelocity(v)
|
||||
end
|
||||
self.set_velocity(self, self.walk_velocity)
|
||||
|
Loading…
Reference in New Issue
Block a user