mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-27 06:03:01 +02: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) {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user