Update README.md
parent
d624c180fc
commit
05c6036eb1
10
README.md
10
README.md
|
@ -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.
|
Loading…
Reference in New Issue