Use current directory explicitly for bundle updator (#1316)

This commit is contained in:
Patrick 'Quezler' Mounier 2020-01-04 18:40:12 +01:00 committed by Anuken
parent 5f1ea4b098
commit eb70283355

View File

@ -15,7 +15,7 @@ public class BundleLauncher{
OrderedMap<String, String> base = new OrderedMap<>();
PropertiesUtils.load(base, new InputStreamReader(new FileInputStream(file)));
Array<String> removals = new Array<>();
Fi.get("").walk(child -> {
Fi.get(".").walk(child -> {
if(child.name().equals("bundle.properties") || child.isDirectory() || child.toString().contains("output"))
return;