mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Apply suggestions from code review
This commit is contained in:
1 parent
81c90e39d3
commit
bd0bd81553
1 file changed
+2
-3
@@ -71,7 +71,7 @@ public class PrimaryConfig {
|
||||
private PingSettings pingSettings = new PingSettings();
|
||||
|
||||
@Comment("Various sound settings for messages.")
|
||||
private Sound messageSound = Sound.sound(
|
||||
private @Nullable Sound messageSound = Sound.sound(
|
||||
Key.key("entity.experience_orb.pickup"),
|
||||
Sound.Source.MASTER,
|
||||
1.0F,
|
||||
@@ -120,8 +120,7 @@ public class PrimaryConfig {
|
||||
return this.messagingSettings;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Sound messageSound() {
|
||||
public @Nullable Sound messageSound() {
|
||||
return this.messageSound;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user