Skip to content

Commit

Permalink
Fix 1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisTestUser authored Jun 10, 2023
1 parent 2cfeecc commit 7967fd5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
import com.solarrabbit.largeraids.nms.AbstractBlockPositionWrapper;

import net.minecraft.core.BlockPos;
import net.minecraft.util.Mth;

public class BlockPositionWrapper implements AbstractBlockPositionWrapper {
final BlockPos blockPos;

public BlockPositionWrapper(double x, double y, double z) {
this.blockPos = new BlockPos(x, y, z);
this.blockPos = new BlockPos(Mth.floor(x), Mth.floor(y), Mth.floor(z));
}

BlockPositionWrapper(@Nonnull BlockPos blockPos) {
Expand Down

0 comments on commit 7967fd5

Please sign in to comment.