mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 16:15:15 +00:00
replace character id from command line
This commit is contained in:
@@ -2885,6 +2885,12 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean replaceCharacter(int oldCharacterId, int newCharacterId) {
|
||||
for (Tag tag : tags) {
|
||||
tag.replaceCharacter(oldCharacterId, newCharacterId);
|
||||
}
|
||||
}
|
||||
|
||||
public void replaceCharacterTags(CharacterTag characterTag, int newCharacterId) {
|
||||
int characterId = characterTag.getCharacterId();
|
||||
CharacterTag newCharacter = getCharacter(newCharacterId);
|
||||
|
||||
Reference in New Issue
Block a user