This commit is contained in:
Blackvein 2012-11-01 15:26:11 -07:00
parent 2d5105713a
commit 7fb41705bc

View File

@ -788,7 +788,7 @@ public class PlayerListener implements Listener {
if(plugin.checkQuester(evt.getPlayer().getName()) == false){ if(plugin.checkQuester(evt.getPlayer().getName()) == false){
boolean isPlayer = true; boolean isPlayer = true;
if (plugin.getServer().getPluginManager().getPlugin("Citizens") != null) { if (plugin.citizens != null) {
if (plugin.citizens.getNPCRegistry().isNPC(evt.getPlayer())) { if (plugin.citizens.getNPCRegistry().isNPC(evt.getPlayer())) {
isPlayer = false; isPlayer = false;
} }