Update to mc-dev rename revision 01

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot
2012-01-12 15:27:39 +00:00
parent 11d06bdb64
commit 1e0e49a804
17 changed files with 65 additions and 68 deletions

View File

@@ -28,7 +28,7 @@ public final class CraftMapView implements MapView {
}
public short getId() {
String text = worldMap.a;
String text = worldMap.id;
if (text.startsWith("map_")) {
try {
return Short.parseShort(text.substring("map_".length()));