From 975b2e8ff487ea35a1e3424e8ce0dc34931583e3 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Thu, 6 Apr 2017 23:11:46 +0200 Subject: [PATCH] fix typo in README --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dbeffdf..f0626ca 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,10 @@ Because many mods (sprint, 3d_armor and others) rewrite the stats in their corne ***API*** -player_physics.set_stats(player, "uniq_name", table) -player_physics.remove(player, "uniq_name") + + - player_physics.set_stats(player, "uniq_name", table) + + - player_physics.remove_stats(player, "uniq_name") **Exemple** @@ -23,7 +25,7 @@ player_physics.remove(player, "uniq_name") **Exemple** You make a potion that adds speed for 10 seconds. - on_use = function(itemstack, user, pointed_thing + on_use = function(itemstack, user, pointed_thing) player_physics.add_effect(user, "potion_speedlvl1", 10, {speed=0.6}) itemstack:take_item() return itemstack