[SPIGOT-4783] CreatureSpawnEvent causes crash when getting block type Created: 26/Apr/19 Updated: 27/Apr/19 Resolved: 27/Apr/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Jocke155 | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | 1.14, Event, crash | ||
Environment: |
Window 10, Java 11 |
Attachments: |
![]() ![]() ![]() ![]() |
Version: | CraftBukkit version git-Spigot-47463c2-6de3aa1 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
When getting the block type at the location of a creature spawn in CreatureSpawnEvent the server crashes. Does not happen on Spigot 1.13.2. Cannot be tested on Vanilla. Steps to reproduce:
Time spent on 1-8: 30 Minutes. |
Comments |
Comment by md_5 [ 27/Apr/19 ] |
No real choice but to remove the event for chunk gen at this point. Moving it to a later point would have the event inconsistent. I've left javadoc notes for how to get the same effect |
Comment by md_5 [ 26/Apr/19 ] |
Very complicated issue - the new world loader is prone to deadlocking itself. The event call has been moved as late as possible without being too late, but it seems this is not late enough |