Drop setBlockNames, make getBlockIDMap fully qualified

This commit is contained in:
Mike Primm 2017-07-06 10:14:45 -05:00
parent 1f8184dd5a
commit f396f46987

View File

@ -548,7 +548,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
HashMap<Integer, String> map = new HashMap<Integer, String>();
for (int i = 0; i < bsn.length; i++) {
if (bsn[i] != null) {
map.put(i, bsn[i]);
map.put(i, "minecraft:" + bsn[i]);
}
}
return map;
@ -818,7 +818,6 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
core.setMinecraftVersion(mcver);
core.setDataFolder(dataDirectory);
core.setServer(new BukkitServer());
core.setBlockNames(helper.getBlockShortNames());
core.setBlockMaterialMap(helper.getBlockMaterialMap());
core.setBiomeNames(helper.getBiomeNames());