mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-09-27 06:02:45 +02:00
Fixed occasional NPE error.
This commit is contained in:
parent
70d6cc4b58
commit
481a6a255e
@ -35,7 +35,6 @@ public class EntityStack {
|
|||||||
public void updateStack() {
|
public void updateStack() {
|
||||||
if (!Setting.ENTITY_HOLOGRAMS.getBoolean()) return;
|
if (!Setting.ENTITY_HOLOGRAMS.getBoolean()) return;
|
||||||
|
|
||||||
Entity entity = getEntityByUniqueId(this.entity);
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(UltimateStacker.getInstance(), () -> {
|
Bukkit.getScheduler().scheduleSyncDelayedTask(UltimateStacker.getInstance(), () -> {
|
||||||
Entity entit = getEntityByUniqueId(this.entity);
|
Entity entit = getEntityByUniqueId(this.entity);
|
||||||
if (entit == null ||
|
if (entit == null ||
|
||||||
|
Loading…
Reference in New Issue
Block a user