mirror of
https://github.com/plexusorg/Module-LibsDisguises.git
synced 2026-06-04 01:06:55 +00:00
Update LibsDisguises.java
This commit is contained in:
@@ -15,6 +15,8 @@ public class LibsDisguises extends PlexModule
|
|||||||
public void load()
|
public void load()
|
||||||
{
|
{
|
||||||
loadMessages("libsdisguises/messages.yml");
|
loadMessages("libsdisguises/messages.yml");
|
||||||
|
registerCommand(new DisguiseToggleCMD(this));
|
||||||
|
registerCommand(new UndisguiseAllCMD());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -25,8 +27,6 @@ public class LibsDisguises extends PlexModule
|
|||||||
api().logging().error("The Plex-LibsDisguises module requires the LibsDisguises plugin to work.");
|
api().logging().error("The Plex-LibsDisguises module requires the LibsDisguises plugin to work.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
registerCommand(new DisguiseToggleCMD(this));
|
|
||||||
registerCommand(new UndisguiseAllCMD());
|
|
||||||
disguiseListener = new DisguiseListener(this);
|
disguiseListener = new DisguiseListener(this);
|
||||||
disguiseListener.getCommands();
|
disguiseListener.getCommands();
|
||||||
registerListener(disguiseListener);
|
registerListener(disguiseListener);
|
||||||
|
|||||||
Reference in New Issue
Block a user