Fix handling of normalized world names

This commit is contained in:
Mike Primm 2012-03-10 15:07:13 -06:00
parent fb5ee1a72e
commit a43a127294
2 changed files with 2 additions and 6 deletions

View file

@ -610,7 +610,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
}
private static DynmapLocation toLoc(Location l) {
return new DynmapLocation(BukkitWorld.normalizeWorldName(l.getWorld().getName()), l.getBlockX(), l.getBlockY(), l.getBlockZ());
return new DynmapLocation(DynmapWorld.normalizeWorldName(l.getWorld().getName()), l.getBlockX(), l.getBlockY(), l.getBlockZ());
}
private void registerPlayerLoginListener() {