Add missing curly brace in player physics chapter
This commit is contained in:
parent
58cc6d9171
commit
b970ba272c
@ -20,7 +20,7 @@ Here is an example which adds an antigravity command, which
|
||||
puts the caller in low G:
|
||||
|
||||
{% highlight lua %}
|
||||
minetest.register_chatcommand("antigravity",
|
||||
minetest.register_chatcommand("antigravity", {
|
||||
func = function(name, param)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
player:set_physics_override({
|
||||
|
Loading…
Reference in New Issue
Block a user