diff options
author | embeddedt <42941056+embeddedt@users.noreply.github.com> | 2023-01-15 12:15:02 -0500 |
---|---|---|
committer | embeddedt <42941056+embeddedt@users.noreply.github.com> | 2023-01-15 12:15:02 -0500 |
commit | a73c5d41be8eb3f25bfbd2bf9908ba4c8ca027b7 (patch) | |
tree | 5b661f458f02e6947f35682437d849514d22d441 /spark-forge1710/src | |
parent | 1075665def4a41cf0064255a6da1d1a652f5d473 (diff) | |
download | spark-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.java | 2 |
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)); } |