mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-02 17:12:58 -04:00
Jedi Loot templates inserted
Buried treasure loot realized
This commit is contained in:
@@ -140,4 +140,14 @@ public class ScriptService {
|
||||
return vector;
|
||||
}
|
||||
|
||||
public Vector<Double> fetchDoubleVector(String path, String method) {
|
||||
Vector<Double> vector = new Vector<Double>();
|
||||
PyObject result = core.scriptService.callScript(path, "", method);
|
||||
Iterable<PyObject> comp = (Iterable<PyObject>)result.asIterable();
|
||||
for (Iterator<PyObject> temp = comp.iterator(); temp.hasNext();){
|
||||
vector.add(temp.next().asDouble());
|
||||
}
|
||||
return vector;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user