Skip to content

Conversation

@markthehumanbard
Copy link

Add new hotkey OpenAllCorpses

{
if (i.IsCorpse &&
Utility.InRange(i.Position, World.Player.Position, Config.GetInt("CorpseRange")) &&
World.Player != null && World.Player.Visible)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check for null first, or it would fail on World.Player.Position if World is null.

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