mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-30 13:13:58 +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
|
@Override
|
||||||
protected DirectoryBehavior getBehavior(String name) {
|
protected DirectoryBehavior getBehavior(String name) {
|
||||||
if (name.equals("_SERVER")) {
|
if (name.startsWith(".")) {
|
||||||
|
return DirectoryBehavior.SKIP;
|
||||||
|
} else if (name.equals("_SERVER")) {
|
||||||
return DirectoryBehavior.IGNORE;
|
return DirectoryBehavior.IGNORE;
|
||||||
} else if (name.equals("_CLIENT")) {
|
} else if (name.equals("_CLIENT")) {
|
||||||
return DirectoryBehavior.SKIP;
|
return DirectoryBehavior.SKIP;
|
||||||
|
Loading…
Reference in New Issue
Block a user