mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fix #1327
This commit is contained in:
parent
e94b85a0fc
commit
a3365a12bc
@ -235,8 +235,7 @@ public class ClipboardFormats {
|
||||
}
|
||||
if (f == null || !f.exists()) {
|
||||
if (!input.contains("../")) {
|
||||
dir = worldEdit.getWorkingDirectoryPath(config.saveDir).toFile();
|
||||
f = MainUtil.resolve(dir, input, format, true);
|
||||
f = MainUtil.resolve(dir, input, null, true);
|
||||
}
|
||||
}
|
||||
if (f == null || !f.exists() || !MainUtil.isInSubDirectory(working, f)) {
|
||||
|
Loading…
Reference in New Issue
Block a user