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

Take command in script could be abused #162

Closed
dogbig opened this issue Apr 7, 2013 · 1 comment
Closed

Take command in script could be abused #162

dogbig opened this issue Apr 7, 2013 · 1 comment

Comments

@dogbig
Copy link

dogbig commented Apr 7, 2013

Example:
- walkto location:player.location
- take item:369 qty:3
- chat 'Great, u will get reward!'

Player drops item before take command executes -> player will still get reward ... How to fix this?

@dogbig
Copy link
Author

dogbig commented Apr 7, 2013

Ok, I fixed it using code https://gist.github.com/dogbig/7133835eba791b598ce8

Ty for IRC guys!

@dogbig dogbig closed this as completed Apr 7, 2013
mcmonkey4eva pushed a commit that referenced this issue Nov 15, 2018
* Add player mends item event

* Remove unnecessary inventory updating

* Remove unused import statement
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

No branches or pull requests

1 participant