mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-20 21:41:32 +02:00
Fix depends
This commit is contained in:
@@ -38,7 +38,7 @@ public class EssentialsProtect extends JavaPlugin implements IProtect
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pm = this.getServer().getPluginManager();
|
||||
final Plugin essPlugin = pm.getPlugin("Essentials");
|
||||
final Plugin essPlugin = pm.getPlugin("Essentials3");
|
||||
if (essPlugin == null || !essPlugin.isEnabled())
|
||||
{
|
||||
enableEmergencyMode(pm);
|
||||
|
@@ -6,4 +6,4 @@ version: TeamCity
|
||||
website: http://tiny.cc/EssentialsWiki
|
||||
description: Provides protection for various parts of the world.
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]
|
||||
softdepend: [Essentials]
|
||||
softdepend: [Essentials3]
|
Reference in New Issue
Block a user