diff --git a/common/src/main/java/net/draycia/carbon/common/users/CarbonPlayerCommon.java b/common/src/main/java/net/draycia/carbon/common/users/CarbonPlayerCommon.java index cbc34405..0972f1c7 100644 --- a/common/src/main/java/net/draycia/carbon/common/users/CarbonPlayerCommon.java +++ b/common/src/main/java/net/draycia/carbon/common/users/CarbonPlayerCommon.java @@ -208,7 +208,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing newIgnored.remove(player); } if (internal) { - this.ignoredPlayers.setInternal(Collections.unmodifiableSet(newIgnored)); + this.ignoredPlayers.internalSet(Collections.unmodifiableSet(newIgnored)); } else { this.ignoredPlayers.set(Collections.unmodifiableSet(newIgnored)); } @@ -298,7 +298,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing final Set newKeys = new HashSet<>(this.leftChannels.get()); newKeys.remove(key); if (internal) { - this.leftChannels.setInternal(Collections.unmodifiableSet(newKeys)); + this.leftChannels.internalSet(Collections.unmodifiableSet(newKeys)); } else { this.leftChannels.set(Collections.unmodifiableSet(newKeys)); } @@ -313,7 +313,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing final Set newKeys = new HashSet<>(this.leftChannels.get()); newKeys.add(channel.key()); if (internal) { - this.leftChannels.setInternal(Collections.unmodifiableSet(newKeys)); + this.leftChannels.internalSet(Collections.unmodifiableSet(newKeys)); } else { this.leftChannels.set(Collections.unmodifiableSet(newKeys)); } diff --git a/common/src/main/java/net/draycia/carbon/common/users/PersistentUserProperty.java b/common/src/main/java/net/draycia/carbon/common/users/PersistentUserProperty.java index d710d0f3..92c61851 100644 --- a/common/src/main/java/net/draycia/carbon/common/users/PersistentUserProperty.java +++ b/common/src/main/java/net/draycia/carbon/common/users/PersistentUserProperty.java @@ -49,7 +49,7 @@ public final class PersistentUserProperty { * @param value value */ @ApiStatus.Internal - public void setInternal(final @Nullable T value) { + public void internalSet(final @Nullable T value) { this.value = value; }