mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-26 02:17:38 +01:00
Fixed occasional NPE error.
This commit is contained in:
parent
70d6cc4b58
commit
481a6a255e
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user