aboutsummaryrefslogtreecommitdiff
path: root/spark-forge1710/src
diff options
context:
space:
mode:
authorembeddedt <42941056+embeddedt@users.noreply.github.com>2023-01-15 12:15:02 -0500
committerembeddedt <42941056+embeddedt@users.noreply.github.com>2023-01-15 12:15:02 -0500
commita73c5d41be8eb3f25bfbd2bf9908ba4c8ca027b7 (patch)
tree5b661f458f02e6947f35682437d849514d22d441 /spark-forge1710/src
parent1075665def4a41cf0064255a6da1d1a652f5d473 (diff)
downloadspark-a73c5d41be8eb3f25bfbd2bf9908ba4c8ca027b7.tar.gz
spark-a73c5d41be8eb3f25bfbd2bf9908ba4c8ca027b7.tar.bz2
spark-a73c5d41be8eb3f25bfbd2bf9908ba4c8ca027b7.zip
Fix incorrect field being used to get chunk list
Diffstat (limited to 'spark-forge1710/src')
-rw-r--r--spark-forge1710/src/main/java/me/lucko/spark/forge/Forge1710WorldInfoProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-forge1710/src/main/java/me/lucko/spark/forge/Forge1710WorldInfoProvider.java b/spark-forge1710/src/main/java/me/lucko/spark/forge/Forge1710WorldInfoProvider.java
index 7252d71..232f88b 100644
--- a/spark-forge1710/src/main/java/me/lucko/spark/forge/Forge1710WorldInfoProvider.java
+++ b/spark-forge1710/src/main/java/me/lucko/spark/forge/Forge1710WorldInfoProvider.java
@@ -99,7 +99,7 @@ public abstract class Forge1710WorldInfoProvider implements WorldInfoProvider {
ArrayList<ForgeChunkInfo> list = new ArrayList<>();
IChunkProvider provider = level.getChunkProvider();
if(provider instanceof ChunkProviderClient) {
- List<Chunk> chunks = ReflectionHelper.getPrivateValue(ChunkProviderClient.class, (ChunkProviderClient)provider, "chunkMapping", "field_73236_b");
+ List<Chunk> chunks = ReflectionHelper.getPrivateValue(ChunkProviderClient.class, (ChunkProviderClient)provider, "chunkListing", "field_73237_c");
for(Chunk chunk : chunks) {
list.add(new ForgeChunkInfo(chunk));
}