mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-26 18:57:40 +01:00
Add missing annotations
This commit is contained in:
parent
134eba5f41
commit
03b6437f23
@ -21,10 +21,12 @@ public class APIItemHologramLine extends BaseItemHologramLine implements ItemHol
|
||||
super(hologram, itemStack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable PickupListener getPickupListener() {
|
||||
return pickupListener;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPickupListener(@Nullable PickupListener pickupListener) {
|
||||
checkNotDeleted();
|
||||
|
||||
|
@ -12,6 +12,7 @@ import org.bukkit.plugin.Plugin;
|
||||
@SuppressWarnings("deprecation")
|
||||
public interface V2HologramLine extends HologramLine, EditableHologramLine {
|
||||
|
||||
@Override
|
||||
V2Hologram getParent();
|
||||
|
||||
@Override
|
||||
|
@ -8,6 +8,7 @@ package me.filoghost.holographicdisplays.plugin.config;
|
||||
import me.filoghost.fcommons.config.Config;
|
||||
import me.filoghost.fcommons.config.mapped.MappedConfig;
|
||||
import me.filoghost.fcommons.config.mapped.Path;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@ -66,7 +67,7 @@ public class SettingsModel implements MappedConfig {
|
||||
boolean debug = false;
|
||||
|
||||
@Override
|
||||
public List<String> getHeader() {
|
||||
public @NotNull List<String> getHeader() {
|
||||
return Arrays.asList(
|
||||
"",
|
||||
"Plugin page: https://dev.bukkit.org/projects/holographic-displays",
|
||||
|
Loading…
Reference in New Issue
Block a user