Files
Paper/Spigot-Server-Patches
Zach Brown fe190b78a1 Fix race condition with chunks, dead tile entities
Fixes PaperMC/Paper#883 same issue as MinecraftForge/MinecraftForge#4386

A more detailed anaylsis of what is probably going on, courtesy of
@bs2609 and the MCForge Issue Tracker is:

When a chunk is unloaded, the entities and tile entities it contains are
marked for removal. The actual removal (from the world) occurs later,
when the world ticks its entities.
Conversely, when a chunk is loaded, it generally adds its entities to
the world promptly, without queuing.

Here's the normal sequence of events:

Chunk unloaded
Old entities removed
Chunk loaded
New entities added

However, what can happen:

Chunk unloaded
Chunk loaded
New entities added
Old entities removed

This occurs when an unloaded chunk is reloaded before its corresponding
entities have been removed.
2017-09-11 22:21:57 -04:00
..
2017-07-09 10:56:36 +01:00
2017-08-12 22:32:01 +01:00
2017-07-09 10:56:36 +01:00
2017-09-06 22:59:08 -04:00
2017-08-07 23:05:16 -04:00
2017-08-03 16:36:06 +02:00
2017-07-28 14:45:16 +01:00
2017-08-12 22:32:01 +01:00
2017-08-12 22:32:01 +01:00
2017-08-12 22:32:01 +01:00
2017-08-12 22:32:01 +01:00
2017-06-11 12:03:07 -05:00
2017-08-09 19:44:28 +01:00
2017-08-03 16:36:06 +02:00
2017-06-18 20:36:55 -05:00
2017-09-06 22:59:08 -04:00
2017-03-24 22:18:58 -05:00
2017-06-18 20:36:55 -05:00
2017-08-03 16:36:06 +02:00
2017-08-12 22:32:01 +01:00
2017-08-03 16:36:06 +02:00
2017-08-07 23:05:16 -04:00
2017-08-03 16:36:06 +02:00
2017-07-28 14:45:16 +01:00
2017-08-12 22:32:01 +01:00
2017-05-14 13:05:01 -05:00
2017-05-14 13:05:01 -05:00
2017-06-18 20:36:55 -05:00
2017-08-03 16:36:06 +02:00
2017-08-03 16:36:06 +02:00
2017-09-06 22:59:08 -04:00
2017-06-09 08:29:44 -04:00
2017-07-28 14:45:16 +01:00
2017-08-05 23:36:47 +01:00
2017-08-03 16:36:06 +02:00
2017-06-18 20:36:55 -05:00
2017-08-16 16:47:06 +01:00
2017-09-06 22:59:08 -04:00