Merge pull request #222 from monowii/master

Fixed teleport util for CanaryMod
This commit is contained in:
Walter Higgins 2015-05-17 14:50:08 +01:00
commit e6be40c5c8

View file

@ -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;