mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 02:59:42 +00:00
Fix Open Scripts Null for Linked and Effect Scripts
This commit is contained in:
1 parent
8ae4ae26dc
commit
c5093b3227
3 files changed
+5
-14
No files matched your search
@@ -79,6 +79,11 @@ public class NoppesUtil {
|
||||
}
|
||||
|
||||
public static void openFolder(File dir){
|
||||
if (dir == null || !dir.exists() || !dir.isDirectory()) {
|
||||
// Log an error or simply return if there's nothing to open
|
||||
return;
|
||||
}
|
||||
|
||||
String s = dir.getAbsolutePath();
|
||||
|
||||
if (Util.getOSType() == Util.EnumOS.OSX)
|
||||
|
||||
Reference in new issue
Block a user