diff --git a/src/me/topchetoeu/jscript/filesystem/Paths.java b/src/me/topchetoeu/jscript/filesystem/Paths.java index e6f6c38..ff24418 100644 --- a/src/me/topchetoeu/jscript/filesystem/Paths.java +++ b/src/me/topchetoeu/jscript/filesystem/Paths.java @@ -19,7 +19,7 @@ public class Paths { for (var el : res) sb.append("/").append(el); - if (sb.isEmpty()) return "/"; + if (sb.length() == 0) return "/"; else return sb.toString(); }