Oops, firstEntry is now properly used

This commit is contained in:
themode 2021-01-08 15:46:56 +01:00 committed by Matt Worzala
parent eed97fd472
commit d5a53641ba

View File

@ -29,8 +29,8 @@ public class RelativeBlockBatch implements Batch<Runnable> {
public void setSeparateBlocks(int x, int y, int z, short blockStateId, short customBlockId, @Nullable Data data) { public void setSeparateBlocks(int x, int y, int z, short blockStateId, short customBlockId, @Nullable Data data) {
// Save the offsets if it is the first entry // Save the offsets if it is the first entry
if (!firstEntry) { if (firstEntry) {
this.firstEntry = true; this.firstEntry = false;
this.offsetX = x; this.offsetX = x;
this.offsetY = y; this.offsetY = y;