Fix mappingregistry, readd an async chunk hunk
This commit is contained in:
3690
patches/server/Asynchronous-chunk-IO-and-loading.patch
Normal file
3690
patches/server/Asynchronous-chunk-IO-and-loading.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -29,10 +29,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
@Nullable
|
||||
protected Object[] randomCache;
|
||||
@@ -0,0 +0,0 @@ public class MappedRegistry<T> extends WritableRegistry<T> {
|
||||
|
||||
public MappedRegistry(ResourceKey<? extends Registry<T>> key, Lifecycle lifecycle) {
|
||||
super(key, lifecycle);
|
||||
- this.elementsLifecycle = lifecycle;
|
||||
this.elementsLifecycle = lifecycle;
|
||||
+ this.toId.defaultReturnValue(-1); // Paper
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user