diff options
author | md_5 <git@md-5.net> | 2018-02-12 10:38:09 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-02-12 10:38:09 +1100 |
commit | f4ca1805d6e826d779a9593b882a1aec398dd7e4 (patch) | |
tree | a3e7912abaee0afcf6e0ae2a150aa9f247835f8c /src/main/java | |
parent | f8411ea1e5865e6d512e4673f4d59255a078e169 (diff) | |
download | craftbukkit-f4ca1805d6e826d779a9593b882a1aec398dd7e4.tar craftbukkit-f4ca1805d6e826d779a9593b882a1aec398dd7e4.tar.gz craftbukkit-f4ca1805d6e826d779a9593b882a1aec398dd7e4.tar.lz craftbukkit-f4ca1805d6e826d779a9593b882a1aec398dd7e4.tar.xz craftbukkit-f4ca1805d6e826d779a9593b882a1aec398dd7e4.zip |
Fix bad usage of setter in previous commit
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java index 536c8131..2fadc703 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java @@ -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 |