Skip to content

Commit

Permalink
🚧 oops
Browse files Browse the repository at this point in the history
  • Loading branch information
PriestOfFerns committed Feb 19, 2024
1 parent 6792938 commit 2a4edde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ShipAssemblerItem(properties: Properties): Item(properties) {
for (y in min(firstPosition!!.y, secondPosition!!.y)..max(firstPosition!!.y, secondPosition!!.y)) {
for (z in min(firstPosition!!.z, secondPosition!!.z)..max(firstPosition!!.z, secondPosition!!.z)) {

if (level.getBlockState(BlockPos(x,y,z)).tags.anyMatch { it!=VsShipAssemblerTags.FORBIDDEN_ASSEMBLE })
if (!level.getBlockState(BlockPos(x,y,z)).tags.anyMatch { it==VsShipAssemblerTags.FORBIDDEN_ASSEMBLE })
add(BlockPos(x,y,z))
}
}
Expand Down

0 comments on commit 2a4edde

Please sign in to comment.