Closed IAISI closed 7 months ago
PlotSquared is calling the Entity#getEntitySpawnReason
method which returned null. To me this looks like an entity was added to the world with a null spawn reason.
I've retested with paper spigot, and the issue still occurs, not Sakura issue, my bad.
I was playing around with this a bit on testing server with PlotSquared installed and P2 started spitting exceptions:
But according to https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/CreatureSpawnEvent.html#getSpawnReason() spawnReason shouldn't ever be null?