Fixed occasional NPE error.

This commit is contained in:
Brianna 2019-06-27 13:33:01 -04:00
parent 70d6cc4b58
commit 481a6a255e
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ public class EntityStack {
public void updateStack() {
if (!Setting.ENTITY_HOLOGRAMS.getBoolean()) return;
Entity entity = getEntityByUniqueId(this.entity);
Bukkit.getScheduler().scheduleSyncDelayedTask(UltimateStacker.getInstance(), () -> {
Entity entit = getEntityByUniqueId(this.entity);
if (entit == null ||