mirror of
https://github.com/cabaletta/baritone
synced 2024-12-19 05:34:40 +00:00
disallow null PathingCommandType
This commit is contained in:
parent
30408384c6
commit
23286dd8b8
@ -26,5 +26,8 @@ public class PathingCommand {
|
||||
public PathingCommand(Goal goal, PathingCommandType commandType) {
|
||||
this.goal = goal;
|
||||
this.commandType = commandType;
|
||||
if (commandType == null) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user