mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-10 20:59:31 +01:00
Fix v2 VisibilityManager
This commit is contained in:
parent
018acd8299
commit
4431605a3a
@ -8,7 +8,6 @@ package me.filoghost.holographicdisplays.core.api.v2;
|
|||||||
import com.gmail.filoghost.holographicdisplays.api.VisibilityManager;
|
import com.gmail.filoghost.holographicdisplays.api.VisibilityManager;
|
||||||
import me.filoghost.holographicdisplays.api.hologram.VisibilitySettings;
|
import me.filoghost.holographicdisplays.api.hologram.VisibilitySettings;
|
||||||
import me.filoghost.holographicdisplays.api.hologram.VisibilitySettings.Visibility;
|
import me.filoghost.holographicdisplays.api.hologram.VisibilitySettings.Visibility;
|
||||||
import me.filoghost.holographicdisplays.core.api.current.DefaultVisibilitySettings;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
@ -17,7 +16,7 @@ class V2VisibilityManager implements VisibilityManager {
|
|||||||
private final VisibilitySettings v3VisibilitySettings;
|
private final VisibilitySettings v3VisibilitySettings;
|
||||||
|
|
||||||
V2VisibilityManager(VisibilitySettings visibilitySettings) {
|
V2VisibilityManager(VisibilitySettings visibilitySettings) {
|
||||||
this.v3VisibilitySettings = new DefaultVisibilitySettings();
|
this.v3VisibilitySettings = visibilitySettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user