@@ -42,7 +42,7 @@ public class CraftMapRenderer extends MapRenderer {
|
||||
}
|
||||
|
||||
MapIcon decoration = (MapIcon) worldMap.decorations.get(key);
|
||||
cursors.addCursor(decoration.getX(), decoration.getY(), (byte) (decoration.getRotation() & 15), decoration.getType());
|
||||
cursors.addCursor(decoration.getX(), decoration.getY(), (byte) (decoration.getRotation() & 15), decoration.b().a());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ public final class CraftMapView implements MapView {
|
||||
}
|
||||
|
||||
public short getId() {
|
||||
String text = worldMap.id;
|
||||
String text = worldMap.getId();
|
||||
if (text.startsWith("map_")) {
|
||||
try {
|
||||
return Short.parseShort(text.substring("map_".length()));
|
||||
|
||||
Reference in New Issue
Block a user