Add supporting code to help with CTM support (block names, biome names)

This commit is contained in:
Mike Primm 2013-04-18 01:20:59 -05:00
parent bcd0acec33
commit 7c6e660cf0
4 changed files with 61 additions and 3 deletions

View file

@ -749,6 +749,8 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
core.setMinecraftVersion(mcver);
core.setDataFolder(dataDirectory);
core.setServer(new BukkitServer());
core.setBlockNames(helper.getBlockShortNames());
core.setBiomeNames(helper.getBiomeNames());
/* Load configuration */
if(!core.initConfiguration(enabCoreCB)) {