This commit is contained in:
sky 2020-04-16 18:07:41 +08:00
parent bd18f3f4a1
commit e784fe7fca

View File

@ -200,6 +200,9 @@ public class Hologram {
return this; return this;
} }
HologramViewer viewer = getViewer(player); HologramViewer viewer = getViewer(player);
if (viewer == null) {
return this;
}
viewers.remove(viewer); viewers.remove(viewer);
destroy(viewer); destroy(viewer);
if (viewers.isEmpty()) { if (viewers.isEmpty()) {