Merge pull request #8046 from Nightfirecat/fix-poh-groundmarkers

worldpoint: Fix plane value in toLocalInstance
This commit is contained in:
Adam
2019-03-02 14:22:54 -05:00
committed by GitHub

View File

@@ -211,7 +211,7 @@ public class WorldPoint
// find instance chunks using the template point. there might be more than one.
List<WorldPoint> worldPoints = new ArrayList<>();
final int z = client.getPlane();
final int z = worldPoint.getPlane();
int[][][] instanceTemplateChunks = client.getInstanceTemplateChunks();
for (int x = 0; x < instanceTemplateChunks[z].length; ++x)
{