forked from MineClone5/MineClone5
#310 Make tridents do not say 261
This commit is contained in:
parent
0d8c9c8577
commit
da3034cadd
|
@ -62,7 +62,6 @@ local spawn_trident = function(player)
|
||||||
durability = durability * (unbreaking + 1)
|
durability = durability * (unbreaking + 1)
|
||||||
end
|
end
|
||||||
wielditem:add_wear(65535/durability)
|
wielditem:add_wear(65535/durability)
|
||||||
minetest.chat_send_all(wielditem:get_wear())
|
|
||||||
obj:set_velocity(vector.multiply(player:get_look_dir(), 20))
|
obj:set_velocity(vector.multiply(player:get_look_dir(), 20))
|
||||||
obj:set_acceleration({x=0, y=-GRAVITY, z=0})
|
obj:set_acceleration({x=0, y=-GRAVITY, z=0})
|
||||||
obj:set_yaw(yaw)
|
obj:set_yaw(yaw)
|
||||||
|
|
Loading…
Reference in New Issue