mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-08 03:21:32 +01:00
Fix for error when holograms are disabled.
This commit is contained in:
parent
ae881978d0
commit
3e76d9cc14
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "UltimateStacker"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "1.8.9"
|
||||
version: "1.8.10"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user