fix more compile errors
This commit is contained in:
@@ -23142,7 +23142,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
- Dynamic<T> dynamic2 = this.type.update(this.fixerUpper, dynamic, j, k);
|
||||
+ // Paper start - route to new converter system
|
||||
+ Dynamic<T> dynamic2;
|
||||
+ if (this.type.getType() == net.minecraft.util.datafix.fixes.References.POI_CHUNK) {
|
||||
+ if (this.type == net.minecraft.util.datafix.DataFixTypes.POI_CHUNK) {
|
||||
+ dynamic2 = new Dynamic<>(dynamic.getOps(), (T)ca.spottedleaf.dataconverter.minecraft.MCDataConverter.convertTag(ca.spottedleaf.dataconverter.minecraft.datatypes.MCTypeRegistry.POI_CHUNK, (CompoundTag)dynamic.getValue(), j, k));
|
||||
+ } else {
|
||||
+ dynamic2 = this.type.update(this.fixerUpper, dynamic, j, k);
|
||||
|
||||
Reference in New Issue
Block a user