From 69f46c2f1259795284ae0f36b5f706fdaf4dcfbc Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 4 Jan 2013 17:04:01 +0100 Subject: [PATCH] Add getWorld to PlayerLocation. --- .../neatmonster/nocheatplus/utilities/PlayerLocation.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java index 4470e9f1..33b19478 100644 --- a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java +++ b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java @@ -117,6 +117,14 @@ public class PlayerLocation { public Location getLocation() { return new Location(world, x, y, z); } + + /** + * Get the world! + * @return + */ + public World getWorld(){ + return world; + } /** * Gets the blockX.