Fix hologram delete

This commit is contained in:
filoghost 2021-07-17 10:43:17 +02:00
parent 3539ae6a01
commit bbc08034f1

View File

@ -24,9 +24,8 @@ public abstract class BaseHologramManager<H extends StandardHologram> {
}
public void deleteHologram(H hologram) {
Preconditions.checkArgument(hologram.isDeleted(), "hologram must be deleted first");
holograms.remove(hologram);
hologram.setDeleted();
holograms.remove(hologram);
}
public List<H> getHolograms() {