mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-26 23:57:25 +01:00
Fixed parsing issue in ActorCondition.
The full round effect's visual effect was not read from the correct field, causing NPEs.
This commit is contained in:
@@ -208,7 +208,7 @@ public class ActorCondition extends JSONElement {
|
||||
this.full_round_effect.ap_boost_max = JSONElement.getInteger((Number) (((Map)fullRoundEffect.get("increaseCurrentAP")).get("max")));
|
||||
this.full_round_effect.ap_boost_min = JSONElement.getInteger((Number) (((Map)fullRoundEffect.get("increaseCurrentAP")).get("min")));
|
||||
}
|
||||
String vfx = (String) roundEffect.get("visualEffectID");
|
||||
String vfx = (String) fullRoundEffect.get("visualEffectID");
|
||||
this.full_round_effect.visual_effect = null;
|
||||
if (vfx != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user