-
Notifications
You must be signed in to change notification settings - Fork 187
Set Spawn command (continuation of #2374) #2447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
thanks for picking this up |
Co-authored-by: IntegratedQuantum <[email protected]>
src/server/command/spawn.zig
Outdated
| return; | ||
| } | ||
| } | ||
| if(x == null or y == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should only trigger when x is null, and needs a separate case for x != null and y == null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be done, but cannot test because of #2485
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try it in a new world
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with different world it worked. But I don't like the wording of the message (I changed it since my comment) maybe just send the usage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sending the usage would be good.
Also note that with #1425 we would also get more consistent error messages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now its sending the usage
Changes to the PR #2374 from @Vinywar123 :