Merge pull request #222 from monowii/master
Fixed teleport util for CanaryMod
This commit is contained in:
commit
e6be40c5c8
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function teleport( entity, destination){
|
|||
entity.teleport( destination, bkTeleportCause.PLUGIN);
|
||||
}
|
||||
if (__plugin.canary){
|
||||
entity['teleportTo(Location)'](destination);
|
||||
entity.teleportTo(destination);
|
||||
}
|
||||
}
|
||||
module.exports = teleport;
|
||||
|
|
Reference in a new issue