From 1d884dd05e2126d378c54eee3055745a4c1276c7 Mon Sep 17 00:00:00 2001 From: Nazrin Date: Tue, 23 May 2023 07:47:15 -0700 Subject: [PATCH] Don't overdefine variables in extended classes (#2163) --- src/main/java/emu/grasscutter/scripts/data/SceneGadget.java | 3 --- src/main/java/emu/grasscutter/scripts/data/SceneMonster.java | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/main/java/emu/grasscutter/scripts/data/SceneGadget.java b/src/main/java/emu/grasscutter/scripts/data/SceneGadget.java index 007fe7b9d..a9ffa1548 100644 --- a/src/main/java/emu/grasscutter/scripts/data/SceneGadget.java +++ b/src/main/java/emu/grasscutter/scripts/data/SceneGadget.java @@ -6,9 +6,7 @@ import lombok.ToString; @ToString @Setter public class SceneGadget extends SceneObject { - public int config_id; public int gadget_id; - public int level; public int chest_drop_id; public int drop_count; public String drop_tag; @@ -28,7 +26,6 @@ public class SceneGadget extends SceneObject { */ public boolean isOneoff; - public int area_id; public int draft_id; public int route_id; public boolean start_route = true; diff --git a/src/main/java/emu/grasscutter/scripts/data/SceneMonster.java b/src/main/java/emu/grasscutter/scripts/data/SceneMonster.java index 87c8913ea..800619d9b 100644 --- a/src/main/java/emu/grasscutter/scripts/data/SceneMonster.java +++ b/src/main/java/emu/grasscutter/scripts/data/SceneMonster.java @@ -6,10 +6,8 @@ import lombok.ToString; @ToString @Setter public class SceneMonster extends SceneObject { - public int config_id; public int monster_id; public int pose_id; - public int level; public int drop_id; public boolean disableWander; public int title_id;