mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 02:51:32 +01:00
Cleanup
This commit is contained in:
parent
c8f6ea7f8e
commit
d7af679243
@ -99,8 +99,8 @@ public class PermissionsHandler implements IPermissionsHandler
|
|||||||
public void checkPermissions()
|
public void checkPermissions()
|
||||||
{
|
{
|
||||||
final PluginManager pluginManager = plugin.getServer().getPluginManager();
|
final PluginManager pluginManager = plugin.getServer().getPluginManager();
|
||||||
|
|
||||||
final Plugin permExPlugin = pluginManager.getPlugin("PermissionsEx");
|
final Plugin permExPlugin = pluginManager.getPlugin("PermissionsEx");
|
||||||
|
|
||||||
if (permExPlugin != null && permExPlugin.isEnabled())
|
if (permExPlugin != null && permExPlugin.isEnabled())
|
||||||
{
|
{
|
||||||
if (!(handler instanceof PermissionsExHandler))
|
if (!(handler instanceof PermissionsExHandler))
|
||||||
|
Loading…
Reference in New Issue
Block a user