diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/internal/hud/HudCore.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/hud/HudCore.java b/src/main/java/cc/polyfrost/oneconfig/internal/hud/HudCore.java index d78df55..f557c8d 100644 --- a/src/main/java/cc/polyfrost/oneconfig/internal/hud/HudCore.java +++ b/src/main/java/cc/polyfrost/oneconfig/internal/hud/HudCore.java @@ -56,6 +56,7 @@ public class HudCore { field.getKey().setAccessible(true); Hud oldHud = huds.get(field); Hud newHud = (Hud) field.getKey().get(field.getValue()); + newHud.setConfig(oldHud.getConfig()); for (BasicOption option : hudOptions) { if (option.getParent().equals(oldHud)) { option.setParent(newHud); |