From 6b74ad5cbecb05db343039118428e338f10ae159 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Tue, 24 Jun 2025 16:40:36 +0200 Subject: [PATCH] fix bug, where some values were not being updated when switching category to a different action type --- .../gpl/rpg/atcontentstudio/ui/gamedataeditors/ItemEditor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ItemEditor.java b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ItemEditor.java index d1b2698..6610e8b 100644 --- a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ItemEditor.java +++ b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ItemEditor.java @@ -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();