Guild zone performance tweak

This commit is contained in:
2023-10-15 16:46:48 -04:00
parent 274cf08dad
commit cbd8685d4b
2 changed files with 7 additions and 17 deletions
-11
View File
@@ -18,7 +18,6 @@ import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.stream.Stream;
public enum MapLoader {
@@ -138,16 +137,6 @@ public enum MapLoader {
}); // Try with resources block
// Generate full white alternate to 1600300
// Declare and initialize an array of short[16][16]
short[][] heightMapEntry = new short[16][16];
for (short[] shorts : heightMapEntry)
Arrays.fill(shorts, (short) 255);
Terrain._heightmap_pixel_cache.put(1006301, heightMapEntry);
} catch (IOException e) {
Logger.error(e);
}