mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Update Optimise general POI access (#7903)
This commit is contained in:
parent
2168417373
commit
1eeec9f2ca
2 changed files with 1059 additions and 1 deletions
|
@ -87,7 +87,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end - unload poi data
|
+ // Paper end - unload poi data
|
||||||
private final LongSet loadedChunks = new LongOpenHashSet();
|
private final LongSet loadedChunks = new LongOpenHashSet();
|
||||||
private final net.minecraft.server.level.ServerLevel world; // Paper
|
public final net.minecraft.server.level.ServerLevel world; // Paper // Paper public
|
||||||
|
|
||||||
public PoiManager(Path path, DataFixer dataFixer, boolean dsync, RegistryAccess registryManager, LevelHeightAccessor world) {
|
public PoiManager(Path path, DataFixer dataFixer, boolean dsync, RegistryAccess registryManager, LevelHeightAccessor world) {
|
||||||
super(path, PoiSection::codec, PoiSection::new, dataFixer, DataFixTypes.POI_CHUNK, dsync, registryManager, world);
|
super(path, PoiSection::codec, PoiSection::new, dataFixer, DataFixTypes.POI_CHUNK, dsync, registryManager, world);
|
||||||
|
|
1058
patches/server/Optimise-general-POI-access.patch
Normal file
1058
patches/server/Optimise-general-POI-access.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue