mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-26 11:07:59 +01:00
Update LinearWaypointProvider.java
This commit is contained in:
parent
190d8e823d
commit
3f22729ca9
@ -76,7 +76,7 @@ public class LinearWaypointProvider implements WaypointProvider {
|
||||
} else if (args.hasFlag('p')) {
|
||||
setPaused(!isPaused());
|
||||
return null;
|
||||
} else if (!(sender instanceof CommandSender)) {
|
||||
} else if (!(sender instanceof Player)) {
|
||||
Messaging.sendErrorTr(sender, Messages.COMMAND_MUST_BE_INGAME);
|
||||
return null;
|
||||
}
|
||||
@ -440,4 +440,4 @@ public class LinearWaypointProvider implements WaypointProvider {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user