mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +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();
|
private PingSettings pingSettings = new PingSettings();
|
||||||
|
|
||||||
@Comment("Various sound settings for messages.")
|
@Comment("Various sound settings for messages.")
|
||||||
private Sound messageSound = Sound.sound(
|
private @Nullable Sound messageSound = Sound.sound(
|
||||||
Key.key("entity.experience_orb.pickup"),
|
Key.key("entity.experience_orb.pickup"),
|
||||||
Sound.Source.MASTER,
|
Sound.Source.MASTER,
|
||||||
1.0F,
|
1.0F,
|
||||||
@@ -120,8 +120,7 @@ public class PrimaryConfig {
|
|||||||
return this.messagingSettings;
|
return this.messagingSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
public @Nullable Sound messageSound() {
|
||||||
public Sound messageSound() {
|
|
||||||
return this.messageSound;
|
return this.messageSound;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user