GC-spigot / AdvancedSpawners

5 stars 4 forks source link

[Issue] #328

Closed xSmAShz1 closed 2 years ago

xSmAShz1 commented 2 years ago

Describe the bug laggs the server

To Reproduce A way to reproduce the video

Screenshots / Video If applicable, add screenshots to help explain your problem.

[20:40:06 WARN]: [AdvancedSpawners] Task #3567167 for AdvancedSpawners v3.6.6 generated an exception java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.LivingEntity.teleport(org.bukkit.Location)" because the return value of "gcspawners.CustomEntityMeta.getBaseEntity()" is null at gcspawners.CustomEntityInstance.lambda$spawn$2(CustomEntityInstance.java:242) ~[AdvancedSpawners-3.6.6.jar:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-351] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-351] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1564) ~[patched_1.17.1.jar:git-Paper-351] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-351] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1480) ~[patched_1.17.1.jar:git-Paper-351] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1279) ~[patched_1.17.1.jar:git-Paper-351] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-351] at java.lang.Thread.run(Thread.java:833) ~[?:?]

Server Information (please complete the following information):

GC-spigot commented 2 years ago

Fixed