mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-24 01:01:51 +01:00
Remove spam on delete.
This commit is contained in:
parent
9d2cc9a839
commit
1671a8163d
@ -464,9 +464,6 @@ public class MultiverseCore extends JavaPlugin implements LoggablePlugin {
|
||||
try {
|
||||
File serverFolder = new File(this.getDataFolder().getAbsolutePath()).getParentFile().getParentFile();
|
||||
File worldFile = new File(serverFolder.getAbsolutePath() + File.separator + name);
|
||||
System.out.print("File: " + worldFile.getAbsolutePath());
|
||||
System.out.print("File: " + worldFile.isDirectory());
|
||||
System.out.print("File: " + Arrays.toString(worldFile.listFiles()));
|
||||
if (name.equalsIgnoreCase("plugins")) {
|
||||
this.log(Level.SEVERE, "Really? Are you high? This would delete your plugins folder. Luckily the MV2 devs are crazy smart or you're server would be ended...");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user