Fixed //fill and //rotate

This commit is contained in:
Matthew Miller
2018-07-22 15:36:50 +10:00
parent 2239d14a01
commit 65420af09e
7 changed files with 65 additions and 29 deletions

View File

@ -37,7 +37,7 @@ public class BlockVector extends Vector {
* @param position the other position
*/
public BlockVector(Vector position) {
super(position);
this(position.getBlockX(), position.getBlockY(), position.getBlockZ());
}
/**
@ -59,7 +59,7 @@ public class BlockVector extends Vector {
* @param z the Z coordinate
*/
public BlockVector(float x, float y, float z) {
super(x, y, z);
this((int) x, (int) y, (int) z);
}
/**
@ -70,7 +70,7 @@ public class BlockVector extends Vector {
* @param z the Z coordinate
*/
public BlockVector(double x, double y, double z) {
super(x, y, z);
this((int) x, (int) y, (int) z);
}
@Override