Fix incorrect field assignments
@@ -19,12 +19,12 @@ public class NucleusKeysProvider implements NucleusUserPreferenceService.Keys {
public static final String TELEPORT_TARGETABLE_KEY = "nucleus:teleport-targetable";
public static final String VANISH_ON_LOGIN_KEY = "nucleus:vanish-on-login";
- @TargetID(COMMAND_SPY_KEY) @Nullable private PreferenceKey<Boolean> vanishOnLoginKey = null;
+ @TargetID(VANISH_ON_LOGIN_KEY) @Nullable private PreferenceKey<Boolean> vanishOnLoginKey = null;
@TargetID(TELEPORT_TARGETABLE_KEY) @Nullable private PreferenceKey<Boolean> teleportTargetKey = null;
@TargetID(POWERTOOL_ENABLED_KEY) @Nullable private PreferenceKey<Boolean> powertoolEnabledKey = null;
@TargetID(SOCIAL_SPY_KEY) @Nullable private PreferenceKey<Boolean> socialSpyEnabled = null;
@TargetID(MESSAGE_TOGGLE_KEY) @Nullable private PreferenceKey<Boolean> messageToggle = null;
- @TargetID(VANISH_ON_LOGIN_KEY) @Nullable private PreferenceKey<Boolean> commandSpyEnabled = null;
+ @TargetID(COMMAND_SPY_KEY) @Nullable private PreferenceKey<Boolean> commandSpyEnabled = null;
@Override public Optional<NucleusUserPreferenceService.PreferenceKey<Boolean>> vanishOnLogin() {
return Optional.ofNullable(this.vanishOnLoginKey);
