From b970ba272cf54fec8efb751968cd1382a82ceb24 Mon Sep 17 00:00:00 2001 From: Spencer Date: Fri, 1 Jul 2016 10:47:31 -0700 Subject: [PATCH] Add missing curly brace in player physics chapter --- chapters/player_physics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/player_physics.md b/chapters/player_physics.md index 9450620..d13ce16 100644 --- a/chapters/player_physics.md +++ b/chapters/player_physics.md @@ -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({