mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 01:47:54 +01:00
Oops, firstEntry is now properly used
This commit is contained in:
parent
eed97fd472
commit
d5a53641ba
@ -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) {
|
||||
|
||||
// Save the offsets if it is the first entry
|
||||
if (!firstEntry) {
|
||||
this.firstEntry = true;
|
||||
if (firstEntry) {
|
||||
this.firstEntry = false;
|
||||
|
||||
this.offsetX = x;
|
||||
this.offsetY = y;
|
||||
|
Loading…
Reference in New Issue
Block a user