Files
OldSliceMC/Spigot-Server-Patches
Zach Brown 6d9375d222 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-08-06 00:08:21 +01:00
2017-09-06 22:59:08 -04:00
2017-05-14 16:06:27 -05:00
2017-06-09 08:29:44 -04:00
2017-05-14 16:06:27 -05:00
2017-09-06 22:59:08 -04:00
2017-08-03 17:27:54 +02:00
2017-08-12 22:51:29 +01:00
2017-08-12 22:51:29 +01:00
2017-06-18 20:37:08 -05:00
2017-08-12 22:51:29 +01:00
2017-07-09 10:56:36 +01:00
2017-07-09 10:56:36 +01:00
2017-08-03 17:27:54 +02:00
2017-06-18 20:37:08 -05:00
2017-07-28 15:51:46 +01:00