This commit is contained in:
monowii 2015-03-07 11:36:45 +01:00
parent 8b7d045702
commit 9c8fb70e4e

View file

@ -52,7 +52,7 @@ function teleport( entity, destination){
entity.teleport( destination, bkTeleportCause.PLUGIN); entity.teleport( destination, bkTeleportCause.PLUGIN);
} }
if (__plugin.canary){ if (__plugin.canary){
entity['teleportTo(Location)'](destination); entity.teleportTo(destination);
} }
} }
module.exports = teleport; module.exports = teleport;