mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-20 15:57:49 +01:00
Fix hologram delete
This commit is contained in:
parent
3539ae6a01
commit
bbc08034f1
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user