mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-28 03:37:36 +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);
|
super(hologram, itemStack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public @Nullable PickupListener getPickupListener() {
|
public @Nullable PickupListener getPickupListener() {
|
||||||
return pickupListener;
|
return pickupListener;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setPickupListener(@Nullable PickupListener pickupListener) {
|
public void setPickupListener(@Nullable PickupListener pickupListener) {
|
||||||
checkNotDeleted();
|
checkNotDeleted();
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ import org.bukkit.plugin.Plugin;
|
|||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public interface V2HologramLine extends HologramLine, EditableHologramLine {
|
public interface V2HologramLine extends HologramLine, EditableHologramLine {
|
||||||
|
|
||||||
|
@Override
|
||||||
V2Hologram getParent();
|
V2Hologram getParent();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -8,6 +8,7 @@ package me.filoghost.holographicdisplays.plugin.config;
|
|||||||
import me.filoghost.fcommons.config.Config;
|
import me.filoghost.fcommons.config.Config;
|
||||||
import me.filoghost.fcommons.config.mapped.MappedConfig;
|
import me.filoghost.fcommons.config.mapped.MappedConfig;
|
||||||
import me.filoghost.fcommons.config.mapped.Path;
|
import me.filoghost.fcommons.config.mapped.Path;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -66,7 +67,7 @@ public class SettingsModel implements MappedConfig {
|
|||||||
boolean debug = false;
|
boolean debug = false;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<String> getHeader() {
|
public @NotNull List<String> getHeader() {
|
||||||
return Arrays.asList(
|
return Arrays.asList(
|
||||||
"",
|
"",
|
||||||
"Plugin page: https://dev.bukkit.org/projects/holographic-displays",
|
"Plugin page: https://dev.bukkit.org/projects/holographic-displays",
|
||||||
|
Loading…
Reference in New Issue
Block a user