mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Finish up ping options and bug fixes
This commit is contained in:
1 parent
bb2ba72749
commit
41568b1ddf
5 files changed
+70
-21
No files matched your search
@@ -137,11 +137,11 @@ public interface PlayerUser extends CarbonUser {
|
||||
|
||||
void pingOptions(@NonNull PingOptions pingOptions);
|
||||
|
||||
public static class PingOptions {
|
||||
class PingOptions {
|
||||
public @Nullable Sound whisperSound;
|
||||
public @Nullable Sound pingSound;
|
||||
|
||||
public PingOptions(@Nullable Sound whisperSound, @Nullable Sound pingSound) {
|
||||
public PingOptions(final @Nullable Sound whisperSound, final @Nullable Sound pingSound) {
|
||||
this.whisperSound = whisperSound;
|
||||
this.pingSound = pingSound;
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public interface PlayerUser extends CarbonUser {
|
||||
return this.whisperSound;
|
||||
}
|
||||
|
||||
public void whisperSound(@Nullable Sound whisperSound) {
|
||||
public void whisperSound(final @Nullable Sound whisperSound) {
|
||||
this.whisperSound = whisperSound;
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ public interface PlayerUser extends CarbonUser {
|
||||
return this.pingSound;
|
||||
}
|
||||
|
||||
public void pingSound(@Nullable Sound pingSound) {
|
||||
public void pingSound(final @Nullable Sound pingSound) {
|
||||
this.pingSound = pingSound;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user