mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-16 12:31:19 +01:00
Potential fix for #763
This commit is contained in:
parent
a5a9c7fedd
commit
1ec33b49cb
@ -793,7 +793,7 @@ public class PlayerListener implements Listener {
|
||||
if (evt.getFrom().getBlock().equals(evt.getTo().getBlock())) {
|
||||
return;
|
||||
}
|
||||
if (plugin.getDependencies().getCitizens() != null) {
|
||||
if (plugin.getDependencies().getCitizens() != null && CitizensAPI.getNPCRegistry() != null) {
|
||||
if (CitizensAPI.getNPCRegistry().isNPC(evt.getPlayer())) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user