Skip to content

Commit

Permalink
Fix chunkSource mappings on 1.19.4 (#2469)
Browse files Browse the repository at this point in the history
fix chunkSource mappings on 1.19.4
  • Loading branch information
SirYwell authored Oct 22, 2023
1 parent 6bb8a2c commit 6dfa7d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public class PaperweightRegen extends Regenerator<ChunkAccess, ProtoChunk, Level
delegateField = CustomChunkGenerator.class.getDeclaredField("delegate");
delegateField.setAccessible(true);

chunkSourceField = ServerLevel.class.getDeclaredField(Refraction.pickName("chunkSource", "M"));
chunkSourceField = ServerLevel.class.getDeclaredField(Refraction.pickName("chunkSource", "H"));
chunkSourceField.setAccessible(true);

generatorStructureStateField = ChunkMap.class.getDeclaredField(Refraction.pickName("chunkGeneratorState", "w"));
Expand Down

0 comments on commit 6dfa7d1

Please sign in to comment.