Fix for error when holograms are disabled.

This commit is contained in:
Brianna 2019-08-03 20:51:28 -04:00
parent ae881978d0
commit 3e76d9cc14
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "UltimateStacker"
path: "/builds/$CI_PROJECT_PATH"
version: "1.8.9"
version: "1.8.10"
build:
stage: build

View File

@ -223,7 +223,8 @@ public class UltimateStacker extends JavaPlugin {
Bukkit.getScheduler().runTaskLater(this, () -> {
this.dataManager.getSpawners((spawners) -> {
this.spawnerStackManager.addSpawners(spawners);
this.hologram.loadHolograms();
if (hologram != null)
this.hologram.loadHolograms();
});
}, 20L);