Compatiblity fix for CB1317

This commit is contained in:
t3hk0d3 2011-10-11 10:43:49 +04:00
parent 5e24747edf
commit d805d4b7ee

View File

@ -85,7 +85,7 @@ public class Modifyworld extends JavaPlugin {
// At migrate and setup defaults
PermissionsEx pex = (PermissionsEx) this.getServer().getPluginManager().getPlugin("PermissionsEx");
ru.tehkode.permissions.config.Configuration pexConfig = pex.getConfig();
Configuration pexConfig = pex.getConfiguration();
// Flags
config.setProperty("enable", pexConfig.getBoolean("permissions.modifyworld.enabled", false));