Player's levels should be decreased MUCH slower than they are increased, and only if the entire action was not affected by cheats.

This commit is contained in:
Adam committed 2012-05-16 17:46:01 -04:00
1 parent d8204161e1
commit dadf0afab5
7 files changed
+101 -77

No files matched your search

@@ -30,7 +30,7 @@ import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
public class Configuration {
private File configFile = new File("plugins/AntiCheat/config.yml");
private File configFile = new File(Anticheat.getPlugin().getDataFolder()+"/config.yml");
private File bukkitFile = new File("bukkit.yml");
private FileConfiguration config;
private FileConfiguration bukkit;