Also take role into account for determining whether to add history entry for new dimension

master
Captain Chaos 2022-08-23 12:47:37 +02:00
parent 8f3368c262
commit d57fc96992
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ public class World2 extends InstanceKeeper implements Serializable, Cloneable {
}
}
}
if (dimension.getAnchor().dim != DIM_NORMAL) {
if (! dimension.getAnchor().equals(NORMAL_DETAIL)) {
history.add(new HistoryEntry(HistoryEntry.WORLD_DIMENSION_ADDED, dimension.getName()));
}
}