Changes

m
→‎JsonCodecProvider: Fix code error on the last line (GatherDataEvent has no method named addProvider(), this is a member of DataGenerator)
Line 41: Line 41:  
     dataGenerator, existingFileHelper, "modid", registryOps, Registry.PLACED_FEATURE_REGISTRY, map);
 
     dataGenerator, existingFileHelper, "modid", registryOps, Registry.PLACED_FEATURE_REGISTRY, map);
   −
   event.addProvider(event.includeServer(), provider);
+
   generator.addProvider(event.includeServer(), provider);
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
4

edits