make Vector3 constructor private

This commit is contained in:
dfsek
2021-12-20 00:06:35 -07:00
parent 007c761537
commit fb6c86801e
7 changed files with 8 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ public final class FabricAdapter {
}
public static Vector3 adapt(BlockPos pos) {
return new Vector3(pos.getX(), pos.getY(), pos.getZ());
return Vector3.of(pos.getX(), pos.getY(), pos.getZ());
}
public static FabricBlockState adapt(BlockState state) {