Merge branch 'master' of gitlab.com:zughy-friends-minetest/enderpearl into master

master
Giov4 2020-09-22 15:45:12 +02:00
commit 570e1d61ff
1 changed files with 15 additions and 0 deletions

15
README.md Normal file
View File

@ -0,0 +1,15 @@
<h2> Functions </h2>
**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.
<br>
<h2> Callbacks </h2>
**enderpearl.on_teleport(function(hit_node) end)**
Called when the enderpearl hits a node.