mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 05:50:08 +00:00
make Vector3 constructor private
This commit is contained in:
1 parent
007c761537
commit
fb6c86801e
7 files changed
+8
-8
No files matched your search
@@ -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