mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 12:30:42 +01:00
Remove redundant checkPermissions() call from poorly named listener
This commit is contained in:
parent
4e9d6d22dd
commit
cd78211cdf
@ -23,7 +23,6 @@ public class EssentialsPluginListener implements Listener, IConf {
|
|||||||
if (event.getPlugin().getName().equals("EssentialsChat")) {
|
if (event.getPlugin().getName().equals("EssentialsChat")) {
|
||||||
ess.getSettings().setEssentialsChatActive(true);
|
ess.getSettings().setEssentialsChatActive(true);
|
||||||
}
|
}
|
||||||
ess.getPermissionsHandler().checkPermissions();
|
|
||||||
ess.getAlternativeCommandsHandler().addPlugin(event.getPlugin());
|
ess.getAlternativeCommandsHandler().addPlugin(event.getPlugin());
|
||||||
if (!Methods.hasMethod() && Methods.setMethod(ess.getServer().getPluginManager())) {
|
if (!Methods.hasMethod() && Methods.setMethod(ess.getServer().getPluginManager())) {
|
||||||
ess.getLogger().log(Level.INFO, "Payment method found (" + Methods.getMethod().getLongName() + " version: " + ess.getPaymentMethod().getMethod().getVersion() + ")");
|
ess.getLogger().log(Level.INFO, "Payment method found (" + Methods.getMethod().getLongName() + " version: " + ess.getPaymentMethod().getMethod().getVersion() + ")");
|
||||||
|
Loading…
Reference in New Issue
Block a user