Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Crabman77 committed Apr 6, 2017
1 parent d92228e commit 975b2e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -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**

Expand All @@ -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
Expand Down

0 comments on commit 975b2e8

Please sign in to comment.