Cleanup
This commit is contained in:
@@ -11,6 +11,7 @@ public class Host{
|
|||||||
public final int version;
|
public final int version;
|
||||||
public final String versionType;
|
public final String versionType;
|
||||||
public final Gamemode mode;
|
public final Gamemode mode;
|
||||||
|
public int ping;
|
||||||
|
|
||||||
public Host(String name, String address, String mapname, int wave, int players, int version, String versionType, Gamemode mode, int playerLimit){
|
public Host(String name, String address, String mapname, int wave, int players, int version, String versionType, Gamemode mode, int playerLimit){
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ public class LiquidJunction extends LiquidBlock{
|
|||||||
|
|
||||||
public LiquidJunction(String name){
|
public LiquidJunction(String name){
|
||||||
super(name);
|
super(name);
|
||||||
hasLiquids = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -58,7 +58,18 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||||||
if(documentURLs.size() < 1) return;
|
if(documentURLs.size() < 1) return;
|
||||||
|
|
||||||
cont.dismissViewController(true, () -> {});
|
cont.dismissViewController(true, () -> {});
|
||||||
controller.importDocument(documentURLs.get(0), new NSURL(getDocumentsDirectory() + "/document"), UIDocumentBrowserImportMode.Copy, (url, error) -> cons.get(Core.files.absolute(url.getPath())));
|
|
||||||
|
try{
|
||||||
|
controller.importDocument(documentURLs.get(0), new NSURL(getDocumentsDirectory() + "/document"), UIDocumentBrowserImportMode.Copy, (url, error) -> {
|
||||||
|
try{
|
||||||
|
cons.get(Core.files.absolute(url.getPath()));
|
||||||
|
}catch(Throwable t){
|
||||||
|
ui.showException(t);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}catch(Throwable t){
|
||||||
|
ui.showException(t);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user