mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-06 06:41:44 +01:00
These are auto removed.
This commit is contained in:
parent
5e20019459
commit
2d50efaac4
@ -59,7 +59,6 @@ public class HologramTask extends BukkitRunnable {
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
removeHolograms();
|
||||
}
|
||||
|
||||
public void spawnHologram(HologramType type, Location location, List<String> lines) {
|
||||
@ -151,12 +150,6 @@ public class HologramTask extends BukkitRunnable {
|
||||
return hologramLines;
|
||||
}
|
||||
|
||||
public void removeHolograms() {
|
||||
for (Hologram hologramList : hologramStorage) {
|
||||
hologramList.remove();
|
||||
}
|
||||
}
|
||||
|
||||
public Hologram getHologram(HologramType type) {
|
||||
for (Hologram hologramList : hologramStorage) {
|
||||
if (hologramList.getType() == type) {
|
||||
|
Loading…
Reference in New Issue
Block a user