mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 02:24:16 +02:00
Missed files during rename
This commit is contained in:
@@ -22,7 +22,7 @@ public class EssentialsChat extends JavaPlugin
|
|||||||
public void onEnable()
|
public void onEnable()
|
||||||
{
|
{
|
||||||
final PluginManager pluginManager = getServer().getPluginManager();
|
final PluginManager pluginManager = getServer().getPluginManager();
|
||||||
final IEssentials ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
final IEssentials ess = (IEssentials)pluginManager.getPlugin("Essentials-3");
|
||||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||||
|
@@ -13,7 +13,7 @@ public class EssentialsGeoIP extends JavaPlugin
|
|||||||
public void onEnable()
|
public void onEnable()
|
||||||
{
|
{
|
||||||
final PluginManager pm = getServer().getPluginManager();
|
final PluginManager pm = getServer().getPluginManager();
|
||||||
final IEssentials ess = (IEssentials)pm.getPlugin("Essentials3");
|
final IEssentials ess = (IEssentials)pm.getPlugin("Essentials-3");
|
||||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||||
{
|
{
|
||||||
getLogger().log(Level.WARNING, _("versionMismatchAll"));
|
getLogger().log(Level.WARNING, _("versionMismatchAll"));
|
||||||
|
@@ -40,7 +40,7 @@ public class EssentialsProtect extends JavaPlugin implements IProtect
|
|||||||
public void onEnable()
|
public void onEnable()
|
||||||
{
|
{
|
||||||
final PluginManager pm = this.getServer().getPluginManager();
|
final PluginManager pm = this.getServer().getPluginManager();
|
||||||
final Plugin essPlugin = pm.getPlugin("Essentials3");
|
final Plugin essPlugin = pm.getPlugin("Essentials-3");
|
||||||
if (essPlugin == null || !essPlugin.isEnabled())
|
if (essPlugin == null || !essPlugin.isEnabled())
|
||||||
{
|
{
|
||||||
enableEmergencyMode(pm);
|
enableEmergencyMode(pm);
|
||||||
|
@@ -36,7 +36,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
|
|||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
final PluginManager pluginManager = getServer().getPluginManager();
|
final PluginManager pluginManager = getServer().getPluginManager();
|
||||||
ess = (IEssentials)pluginManager.getPlugin("Essentials3");
|
ess = (IEssentials)pluginManager.getPlugin("Essentials-3");
|
||||||
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
LOGGER.log(Level.WARNING, _("versionMismatchAll"));
|
||||||
|
@@ -7,7 +7,7 @@ website: http://tiny.cc/EssentialsWiki
|
|||||||
description: Provides xmpp communication.
|
description: Provides xmpp communication.
|
||||||
authors:
|
authors:
|
||||||
- snowleo
|
- snowleo
|
||||||
depend: [Essentials3]
|
depend: [Essentials-3]
|
||||||
commands:
|
commands:
|
||||||
setxmpp:
|
setxmpp:
|
||||||
description: set your xmpp address
|
description: set your xmpp address
|
||||||
|
Reference in New Issue
Block a user