Annotations for clarity

This commit is contained in:
smooone committed 2022-01-31 14:33:27 +01:00
1 parent 2e7170b518
commit 280c295116
1 file changed
+5 -3
@@ -7,6 +7,8 @@ import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.PluginManager;
import javax.annotation.Nullable;
public class Settings { public class Settings {
private final Plugin plugin; private final Plugin plugin;
@@ -452,15 +454,15 @@ public class Settings {
public int getWarpsPerPage() { public int getWarpsPerPage() {
return warpsPerPage; return warpsPerPage;
} }
@Nullable
public Sound getTeleportationCompleteSound() { public Sound getTeleportationCompleteSound() {
return teleportationCompleteSound; return teleportationCompleteSound;
} }
@Nullable
public Sound getTeleportWarmupSound() { public Sound getTeleportWarmupSound() {
return teleportWarmupSound; return teleportWarmupSound;
} }
@Nullable
public Sound getTeleportCancelledSound() { public Sound getTeleportCancelledSound() {
return teleportCancelledSound; return teleportCancelledSound;
} }