Added Adding tag "inside" allows setting character id to original when possible

Fixed
- Add tag (before/after/inside) refactored to more meaningful menus
- Add tag renamed to Add tag inside
This commit is contained in:
Jindra Petřík
2022-10-31 18:29:01 +01:00
parent 8fe57ca6f1
commit 9269cb2bde
9 changed files with 352 additions and 197 deletions

View File

@@ -307,7 +307,7 @@ public abstract class Tag implements NeedsCharacters, Exportable, Serializable {
return knownTagInfosByName;
}
private static void addTagInfo(Map<Integer, TagTypeInfo> map, Map<String, TagTypeInfo> map2, int id, Class cls, String name) {
map.put(id, new TagTypeInfo(id, cls, name));
map2.put(name, new TagTypeInfo(id, cls, name));