mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-21 07:40:27 +00:00
make Vector3 constructor private
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user