Skip to content
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

Error reporting bug #6731

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Error reporting bug #6731

merged 1 commit into from
Nov 13, 2023

Conversation

cbisazza
Copy link
Contributor

Change error when material not found to indicate that the material was not found

Change error when material not found to indicate that the material was not found
@MahtraDR
Copy link
Collaborator

Help me out here. Can you please show what this change does?

Maybe show script output before and after?

Thanks!

@cbisazza
Copy link
Contributor Author

The original one references an undefined variable called 'name' ... but I'll get you some output if you need that :-)

@cbisazza
Copy link
Contributor Author

Here's what the original version looks like ...

What were you referring to?
[carve: ]
--- Lich: error: undefined local variable or method `name' for #<Carve:0x06904ad0>
	carve:73:in `carve_item'
	carve:51:in `initialize'
Script ended!
--- Lich: carve has exited.

And the new one:

[carve]>get my alabaster deed
What were you referring to?
[carve: ]
[carve: You seem ddd to be missing: alabaster deed]
Script ended!
--- Lich: carve has exited.

@MahtraDR MahtraDR merged commit adcce18 into elanthia-online:master Nov 13, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants