mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Magic number configuration! Hooray!
This commit is contained in:
1 parent
486c19f080
commit
540cc30151
6 files changed
+515
-153
No files matched your search
@@ -23,7 +23,6 @@ import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import net.h31ix.anticheat.event.*;
|
||||
import net.h31ix.anticheat.manage.AnticheatManager;
|
||||
import net.h31ix.anticheat.manage.CheckType;
|
||||
@@ -248,6 +247,14 @@ public class Anticheat extends JavaPlugin
|
||||
getLogger().log(Level.INFO, "Lang file created.");
|
||||
}
|
||||
}
|
||||
if (!new File(getDataFolder() + "/magic.yml").exists())
|
||||
{
|
||||
saveResource("magic.yml", false);
|
||||
if (verbose)
|
||||
{
|
||||
getLogger().log(Level.INFO, "Magic file created.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static Anticheat getPlugin()
|
||||
|
||||
Reference in new issue
Block a user