mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-09-07 13:08:19 +02:00
Fix holograms managers
This commit is contained in:
parent
828870345e
commit
dc698223b6
@ -20,7 +20,7 @@ public class NamedHologramManager {
|
||||
|
||||
public static void removeHologram(NamedHologram hologram) {
|
||||
pluginHolograms.remove(hologram);
|
||||
if (hologram.isDeleted()) {
|
||||
if (!hologram.isDeleted()) {
|
||||
hologram.delete();
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ public class PluginHologramManager {
|
||||
|
||||
public static void removeHologram(PluginHologram hologram) {
|
||||
pluginHolograms.remove(hologram);
|
||||
if (hologram.isDeleted()) {
|
||||
if (!hologram.isDeleted()) {
|
||||
hologram.delete();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user