Loads, but still uses some depricated features will update those next.
This commit is contained in:
parent
84df0ae5c7
commit
baf0cc671e
1
pom.xml
1
pom.xml
@ -150,6 +150,7 @@
|
||||
<groupId>net.essentialsx</groupId>
|
||||
<artifactId>EssentialsX</artifactId>
|
||||
<version>2.20.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
@ -86,9 +86,11 @@ public class RealEstate extends JavaPlugin
|
||||
return;
|
||||
}
|
||||
}
|
||||
if((ess = (Essentials)getServer().getPluginManager().getPlugin("Essentials")) != null)
|
||||
if(getServer().getPluginManager().getPlugin("Essentials") != null)
|
||||
{
|
||||
this.log.info("Found Essentials, using version " + ess.getDescription().getVersion());
|
||||
org.bukkit.plugin.Plugin ess=getServer().getPluginManager().getPlugin("Essentials");
|
||||
|
||||
this.log.info("Found Essentials, using version " + ess.getDescription().getVersion());
|
||||
}
|
||||
this.config = new Config();
|
||||
this.config.loadConfig();// loads config or default
|
||||
|
||||
Loading…
Reference in New Issue
Block a user