Fix "security" issue that was already present

This commit is contained in:
dordsor21 2022-02-27 19:50:33 +00:00 committed by Jordan
parent a71af4e76f
commit 3dbbbc698e

View File

@ -673,7 +673,7 @@ public class HybridUtils {
toCheck.set(true); toCheck.set(true);
} }
} }
int size = plotWorld.SIZE; short size = plotWorld.SIZE;
for (int X = 0; X < 16; X++) { for (int X = 0; X < 16; X++) {
short absX = (short) ((finalX + X) % size); short absX = (short) ((finalX + X) % size);
for (int Z = 0; Z < 16; Z++) { for (int Z = 0; Z < 16; Z++) {