mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-07 16:12:02 +01:00
Re-add missing chunk event calls (#11104)
This commit is contained in:
parent
30285e7121
commit
0b2291042a
@ -253,12 +253,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ ((ChunkSystemServerLevel)((ServerLevel)chunk.getLevel())).moonrise$getLoadedChunks().add(
|
||||
+ ((ChunkSystemLevelChunk)chunk).moonrise$getChunkAndHolder()
|
||||
+ );
|
||||
+ chunk.loadCallback();
|
||||
}
|
||||
|
||||
public static void onChunkNotBorder(final LevelChunk chunk, final ChunkHolder holder) {
|
||||
+ ((ChunkSystemServerLevel)((ServerLevel)chunk.getLevel())).moonrise$getLoadedChunks().remove(
|
||||
+ ((ChunkSystemLevelChunk)chunk).moonrise$getChunkAndHolder()
|
||||
+ );
|
||||
+ chunk.unloadCallback();
|
||||
+ }
|
||||
|
||||
+ public static void onChunkPostNotBorder(final LevelChunk chunk, final ChunkHolder holder) {
|
||||
|
Loading…
Reference in New Issue
Block a user