mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Fix method name for checkstyle
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -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<Key> 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<Key> 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));
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ public final class PersistentUserProperty<T> {
|
||||
* @param value value
|
||||
*/
|
||||
@ApiStatus.Internal
|
||||
public void setInternal(final @Nullable T value) {
|
||||
public void internalSet(final @Nullable T value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user