Skip to content

Commit

Permalink
Removed the offset of the entitify falling block.
Browse files Browse the repository at this point in the history
  • Loading branch information
DracoFAAD committed Feb 16, 2024
1 parent 6c27eea commit 73155c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/dracofaad/dracostructapi/Structure.java
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ public static List<StructureBlockEntity> entitifyStructureFallingBlock(PlacedStr
for (int z = Corner1Z; z <= Corner2Z; z++) {
for (int y = Corner1Y; y <= Corner2Y; y++) {
//Loop trough.
Location location = new Location(world, x, y, z);
Location location = new Location(world, x + 0.5, y, z + 0.5);
Block block = location.getBlock();
BlockData blockData = block.getBlockData();
Material material = block.getType();
Expand Down

0 comments on commit 73155c4

Please sign in to comment.