Skip to content

Commit 676d395

Browse files
committed
Added string id overload ctor in ContainerHandlePath
1 parent 5c38168 commit 676d395

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/org/spongepowered/asm/launch/platform/container/ContainerHandlePath.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ public class ContainerHandlePath extends ContainerHandleURI {
3838
private final Path path;
3939

4040
public ContainerHandlePath(Path path) {
41-
super(path.getFileName().toString(), path.toUri());
41+
this(path.getFileName().toString(), path);
42+
}
43+
44+
public ContainerHandlePath(String id, Path path) {
45+
super(id, path.toUri());
4246
this.path = path;
4347
}
4448

0 commit comments

Comments
 (0)