mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-22 17:17:38 +01:00
Unstable
This commit is contained in:
parent
2d5105713a
commit
7fb41705bc
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user