fixed indirect static access

v5stable
Ondřej Hruška 11 years ago
parent d96c1c1272
commit 5be05077b7
  1. 4
      src/mightypork/utils/objects/Convert.java

@ -180,12 +180,12 @@ public class Convert {
final double y = Double.parseDouble(parts[1].trim()); final double y = Double.parseDouble(parts[1].trim());
if (parts.length == 2) { if (parts.length == 2) {
return VectConst.make(x, y); return Vect.make(x, y);
} }
final double z = Double.parseDouble(parts[2].trim()); final double z = Double.parseDouble(parts[2].trim());
return VectConst.make(x, y, z); return Vect.make(x, y, z);
} }
} }
} catch (final NumberFormatException | ArrayIndexOutOfBoundsException e) { } catch (final NumberFormatException | ArrayIndexOutOfBoundsException e) {

Loading…
Cancel
Save