Commit graph

30 commits

Author SHA1 Message Date
CraftBukkit/Spigot
18496e998f Repackage patches
By: md_5 <git@md-5.net>
2021-03-16 09:00:00 +11:00
CraftBukkit/Spigot
373ed1ddd5 SPIGOT-5228: Entities that are removed during chunk unloads are not
properly removed from the chunk.

This could lead to dead entities accumulating in memory over time if the
chunk never gets fully unloaded (as it is the case for chunks around the
spawn region).

The issue is that Minecraft processes the removal of these entities
during the next tick, when the chunk has already switched to state
INACCESSIBLE and can no longer be retrieved as usual.

For the purpose of removing dead entities from their still loaded but no
longer accessible chunk, this adds and uses a new method with which a
chunk can be accessed without checking its current state first.

By: blablubbabc <lukas@wirsindwir.de>
2021-02-14 09:24:23 +11:00
CraftBukkit/Spigot
9bda60d8b4 SPIGOT-6296: Server crashes when burning something at y-level 0
By: md_5 <git@md-5.net>
2020-12-29 08:45:45 +11:00
CraftBukkit/Spigot
634b782744 SPIGOT-6086: Twisting vines growing at top of world crashes server
By: md_5 <git@md-5.net>
2020-08-20 18:48:38 +10:00
CraftBukkit/Spigot
6a9e00d4b6 Update to Minecraft 1.16.2
By: md_5 <git@md-5.net>
2020-08-12 07:00:00 +10:00
CraftBukkit/Spigot
50503fd516 Update to Minecraft 1.16.1
By: md_5 <git@md-5.net>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
5ca0965ff4 #640: Fix chunk load/unload callbacks for chunk load cancellations
When a chunk goes from a ticket level where it is loading a
full chunk to an inactive state (i.e ticket level 33 to
ticket level 45) the full status future will be completed
with a "Right" Either (indicating unloaded). However, this
will also schedule the unload callback immediately.

However, the callback is not immediately executed. This means
the next unload/load callback that needs to be scheduled will
fail. The fix applied is to not schedule a callback if the
chunk is not loaded - if the Either is "right."

Even better, due to how completablefuture works, exceptions
are not printed by default. So the exception thrown by the
callback executor was not printed and the failure
hidden from console. This explains why no-one has tracked this issue.
Now the exception is printed so future failures with the
callback system (if any) can be tracked easier.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-03-02 17:19:06 -08:00
CraftBukkit/Spigot
a4b8e8ce68 Update to Minecraft 1.14.4
By: md_5 <git@md-5.net>
2019-07-20 09:00:00 +10:00
CraftBukkit/Spigot
75c992cac3 SPIGOT-4849: Fix server crash when accessing chunks during chunk load/unload/populate events
By: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2019-07-13 20:19:44 +02:00
CraftBukkit/Spigot
a8155d2399 Update to Minecraft 1.14.3-pre4
By: md_5 <git@md-5.net>
2019-06-21 20:00:00 +10:00
CraftBukkit/Spigot
961f817b83 SPIGOT-5046: World#getLoadedChunks returning inaccessible cached chunks.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-12 20:05:29 +02:00
CraftBukkit/Spigot
569660215f Update to Minecraft 1.14.2
By: md_5 <git@md-5.net>
2019-05-28 06:30:00 +10:00
CraftBukkit/Spigot
e2b8949bf3 SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events
By: blablubbabc <lukas@wirsindwir.de>
2019-05-16 01:11:20 +02:00
CraftBukkit/Spigot
788fd7eedc Update to Minecraft 1.14.1
By: md_5 <git@md-5.net>
2019-05-14 10:00:00 +10:00
CraftBukkit/Spigot
a0f2b74c8d Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
CraftBukkit/Spigot
83baf22bde Mappings Update
By: md_5 <git@md-5.net>
2018-12-13 11:00:00 +11:00
CraftBukkit/Spigot
f578d94680 Update to Minecraft 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 12:00:00 +10:00
CraftBukkit/Spigot
7e0a66fdd5 Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00
CraftBukkit/Spigot
77b2d0456e SPIGOT-2014: Respect the spectatorsGenerateChunks gamerule
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-20 11:00:35 +01:00
CraftBukkit/Spigot
099fbb9235 Fix regenerating chunks not updating visually
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-06 23:49:28 +00:00
CraftBukkit/Spigot
21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00
CraftBukkit/Spigot
85be409b13 Update to Minecraft 1.8.3
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-26 22:41:06 +00:00
CraftBukkit/Spigot
31111ba23e Fix client chunk leak when preforming large block/chunk updates
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-30 23:33:58 +00:00
CraftBukkit/Spigot
6956c3298f Revert "Remove patch headers"
This reverts commit a8ddf37419.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 23:02:15 +00:00
CraftBukkit/Spigot
a8ddf37419 Remove patch headers
By: GunfighterJ <joseph.jenniges@gmail.com>
2014-11-28 16:54:14 -06:00
CraftBukkit/Spigot
ba8312ff89 Use the right name for the AsyncPlayerPreLoginEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 17:43:48 +00:00
CraftBukkit/Spigot
2443e912f8 Fix eating food whilst not facing a block
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 11:23:19 +00:00
CraftBukkit/Spigot
a419776f3c Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-26 08:32:16 +11:00