mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-27 12:46:22 +01:00
Also skip folders starting with . for the server files
This commit is contained in:
parent
f5c3bb48f6
commit
858d1b1b56
@ -26,7 +26,9 @@ public class ServerCopyExport extends DirectoryWalker {
|
||||
|
||||
@Override
|
||||
protected DirectoryBehavior getBehavior(String name) {
|
||||
if (name.equals("_SERVER")) {
|
||||
if (name.startsWith(".")) {
|
||||
return DirectoryBehavior.SKIP;
|
||||
} else if (name.equals("_SERVER")) {
|
||||
return DirectoryBehavior.IGNORE;
|
||||
} else if (name.equals("_CLIENT")) {
|
||||
return DirectoryBehavior.SKIP;
|
||||
|
Loading…
Reference in New Issue
Block a user