fix bug, where some values were not being updated when switching category to a different action type

This commit is contained in:
OMGeeky
2025-06-24 16:40:36 +02:00
parent 93e44a2b50
commit 6b74ad5cbe

View File

@@ -374,6 +374,8 @@ public class ItemEditor extends JSONElementEditor {
updateKill = true;
hitReceivedEffectPane.effectPane.setVisible(false);
item.hit_received_effect = null;
updateHitReceived = true;
updateEquip = true;
killEffectPane.effectPane.setTitle(useLabel);
ItemEditor.this.revalidate();
ItemEditor.this.repaint();
@@ -383,6 +385,7 @@ public class ItemEditor extends JSONElementEditor {
killEffectPane.effectPane.setVisible(true);
updateKill = true;
hitReceivedEffectPane.effectPane.setVisible(true);
updateHitReceived = true;
updateEquip = true;
killEffectPane.effectPane.setTitle(killLabel);
ItemEditor.this.revalidate();