mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
Fix bad usage of setter in previous commit
This commit is contained in:
parent
f8411ea1e5
commit
f4ca1805d6
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class CraftStructureBlock extends CraftBlockEntityState<TileEntityStructu
|
|||
Validate.isTrue(isBetween(vector.getBlockX(), 0, MAX_SIZE), "Structure Size (X) must be between 0 and " + MAX_SIZE);
|
||||
Validate.isTrue(isBetween(vector.getBlockY(), 0, MAX_SIZE), "Structure Size (Y) must be between 0 and " + MAX_SIZE);
|
||||
Validate.isTrue(isBetween(vector.getBlockZ(), 0, MAX_SIZE), "Structure Size (Z) must be between 0 and " + MAX_SIZE);
|
||||
getSnapshot().c(new BlockPosition(vector.getBlockX(), vector.getBlockY(), vector.getBlockZ())); // PAIL: setStructureSize
|
||||
getSnapshot().i = new BlockPosition(vector.getBlockX(), vector.getBlockY(), vector.getBlockZ()); // PAIL: rename size
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue