Update README.md

master
Giov4 2020-09-22 13:06:36 +00:00
parent d624c180fc
commit 05c6036eb1
1 changed files with 6 additions and 4 deletions

View File

@ -1,13 +1,15 @@
**Functions
<h2> Functions </h2>
enderpearl.block_teleport(player, [duration])
**enderpearl.block_teleport(player, [duration])**
Stops the player from teleporting for the specified duration
(if it isn't nil). To allow a player to teleport again just set
the duration to 0.
**Callbacks
<br>
enderpearl.on_teleport(function(hit_node) end)
<h2> Callbacks </h2>
**enderpearl.on_teleport(function(hit_node) end)**
Called when the enderpearl hits a node.