Skip to content

Commit

Permalink
Extra plugin disabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Sep 18, 2021
1 parent cffb051 commit 004c46a
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -320,6 +320,8 @@ private void stopNavigating() {
velocity.setX(0).setY(0).setZ(0);
npc.getEntity().setVelocity(velocity);
}
if (!SUPPORT_CHUNK_TICKETS || !CitizensAPI.hasImplementation() || !CitizensAPI.getPlugin().isEnabled())
return;
Bukkit.getScheduler().scheduleSyncDelayedTask(CitizensAPI.getPlugin(), new Runnable() {
@Override
public void run() {
Expand Down

0 comments on commit 004c46a

Please sign in to comment.