diff --git a/core/src/main/java/com/boydti/fawe/wrappers/FakePlayer.java b/core/src/main/java/com/boydti/fawe/wrappers/FakePlayer.java index d8cd8d2d..0fa16e55 100644 --- a/core/src/main/java/com/boydti/fawe/wrappers/FakePlayer.java +++ b/core/src/main/java/com/boydti/fawe/wrappers/FakePlayer.java @@ -118,7 +118,13 @@ public class FakePlayer extends LocalPlayer { @Override public FaweLocation getLocation() { Location loc = FakePlayer.this.getLocation(); - return new FaweLocation(loc.getExtent().toString(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()); + String world; + if (loc.getExtent() instanceof World) { + world = ((World) loc.getExtent()).getName(); + } else { + world = loc.getExtent().toString(); + } + return new FaweLocation(world, loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()); } @Override