mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-21 01:38:51 +00:00
fix: 文件已存在时忽略文件释放
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
192aaa3515
commit
64b45f90b4
@ -139,7 +139,7 @@ public class P {
|
||||
jar.stream().forEach(je -> {
|
||||
if (!je.isDirectory()) {
|
||||
for (final String dir : dirs) {
|
||||
if (je.getName().startsWith(dir)) {
|
||||
if (je.getName().startsWith(dir) && !new File(getDataFolder(), je.getName()).exists()) {
|
||||
instance.saveResource(je.getName(), false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user