mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-27 19:47:51 +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')) {
|
} else if (args.hasFlag('p')) {
|
||||||
setPaused(!isPaused());
|
setPaused(!isPaused());
|
||||||
return null;
|
return null;
|
||||||
} else if (!(sender instanceof CommandSender)) {
|
} else if (!(sender instanceof Player)) {
|
||||||
Messaging.sendErrorTr(sender, Messages.COMMAND_MUST_BE_INGAME);
|
Messaging.sendErrorTr(sender, Messages.COMMAND_MUST_BE_INGAME);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user