more headless speed

This commit is contained in:
Julian Krings
2024-08-23 15:05:45 +02:00
parent 3bffe4cc7e
commit b1e87afc93
2 changed files with 12 additions and 5 deletions
@@ -33,7 +33,7 @@ public class SyncChunkDataHunkHolder extends ArrayHunk<BlockData> {
}
public void apply() {
for (int i = 0; i < getHeight(); i++) {
for (int i = getHeight()-1; i >= 0; i--) {
for (int j = 0; j < getWidth(); j++) {
for (int k = 0; k < getDepth(); k++) {
BlockData b = super.getRaw(j, i, k);