This commit is contained in:
snowleo 2011-08-31 13:03:01 +02:00
parent c8f6ea7f8e
commit d7af679243

View File

@ -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))