diff options
author | EvilSeph <evilseph@gmail.com> | 2011-08-12 22:47:47 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-08-12 23:06:02 -0400 |
commit | 748a6288e418ea8d52a287d55cc591ac1f0a536a (patch) | |
tree | e4bc6d4090f58bcc2807278f63bd8d8da81d997c /src/main/java/net/minecraft/server/WorldMap.java | |
parent | e6876a97da07a7218c177f4ddf61c277929bc759 (diff) | |
download | craftbukkit-748a6288e418ea8d52a287d55cc591ac1f0a536a.tar craftbukkit-748a6288e418ea8d52a287d55cc591ac1f0a536a.tar.gz craftbukkit-748a6288e418ea8d52a287d55cc591ac1f0a536a.tar.lz craftbukkit-748a6288e418ea8d52a287d55cc591ac1f0a536a.tar.xz craftbukkit-748a6288e418ea8d52a287d55cc591ac1f0a536a.zip |
Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldMap.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldMap.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/WorldMap.java b/src/main/java/net/minecraft/server/WorldMap.java index ab20cf9b..4e93ed3a 100644 --- a/src/main/java/net/minecraft/server/WorldMap.java +++ b/src/main/java/net/minecraft/server/WorldMap.java @@ -11,6 +11,7 @@ import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.CraftWorld; +import org.bukkit.craftbukkit.map.CraftMapView; // CraftBukkit end public class WorldMap extends WorldMapBase { @@ -26,13 +27,17 @@ public class WorldMap extends WorldMapBase { public List i = new ArrayList(); // CraftBukkit start + public final CraftMapView mapView; private CraftServer server; private UUID uniqueId = null; // CraftBukkit end public WorldMap(String s) { super(s); - server = (CraftServer) Bukkit.getServer(); // CraftBukkit + // CraftBukkit start + mapView = new CraftMapView(this); + server = (CraftServer) Bukkit.getServer(); + // CraftBukkit end } public void a(NBTTagCompound nbttagcompound) { |