From 007d254978be128e05aa018b162b4bb9b1bc2991 Mon Sep 17 00:00:00 2001 From: sk89q Date: Tue, 4 Jan 2011 12:21:35 -0800 Subject: [PATCH] Fixed BukkitPlayer not returning a LocalWorld. --- src/com/sk89q/worldedit/bukkit/BukkitPlayer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/sk89q/worldedit/bukkit/BukkitPlayer.java b/src/com/sk89q/worldedit/bukkit/BukkitPlayer.java index 24dc9489c..8ebd8c589 100644 --- a/src/com/sk89q/worldedit/bukkit/BukkitPlayer.java +++ b/src/com/sk89q/worldedit/bukkit/BukkitPlayer.java @@ -124,8 +124,7 @@ public class BukkitPlayer extends LocalPlayer { @Override public LocalWorld getWorld() { - // TODO Auto-generated method stub - return null; + return new BukkitWorld(player.getWorld()); } }