Loads, but still uses some depricated features will update those next.

This commit is contained in:
Famous_Longwing 2024-02-08 22:22:01 -05:00
parent 84df0ae5c7
commit baf0cc671e
2 changed files with 5 additions and 2 deletions

View File

@ -150,6 +150,7 @@
<groupId>net.essentialsx</groupId> <groupId>net.essentialsx</groupId>
<artifactId>EssentialsX</artifactId> <artifactId>EssentialsX</artifactId>
<version>2.20.1</version> <version>2.20.1</version>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -86,8 +86,10 @@ public class RealEstate extends JavaPlugin
return; return;
} }
} }
if((ess = (Essentials)getServer().getPluginManager().getPlugin("Essentials")) != null) if(getServer().getPluginManager().getPlugin("Essentials") != null)
{ {
org.bukkit.plugin.Plugin ess=getServer().getPluginManager().getPlugin("Essentials");
this.log.info("Found Essentials, using version " + ess.getDescription().getVersion()); this.log.info("Found Essentials, using version " + ess.getDescription().getVersion());
} }
this.config = new Config(); this.config = new Config();