From daea9cf60de3aab92d3c74f934496760c0b5006c Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 10 Aug 2016 12:33:08 +1000 Subject: [PATCH] Allow teleportation for console --- .../com/intellectualcrafters/plot/object/ConsolePlayer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/object/ConsolePlayer.java b/Core/src/main/java/com/intellectualcrafters/plot/object/ConsolePlayer.java index 56aa130d7..fbfb9d15f 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/object/ConsolePlayer.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/object/ConsolePlayer.java @@ -32,6 +32,11 @@ public class ConsolePlayer extends PlotPlayer { return instance; } + @Override + public boolean canTeleport(Location loc) { + return true; + } + @Override public Location getLocation() { return this.getMeta("location");