Null pointer check #10

Merged
Fysac merged 2 commits from master into master 2014-08-03 17:58:31 -04:00
Fysac commented 2014-08-01 13:39:15 -04:00 (Migrated from github.com)

Players who haven't joined your server since the UUID conversion will have a null name. As a result, if you try to /openinv a player who has joined your server since then, the loop can break due to a NPE while checking other players. This null check should fix that problem.

Players who haven't joined your server since the UUID conversion will have a null name. As a result, if you try to /openinv a player who _has_ joined your server since then, the loop can break due to a NPE while checking other players. This null check should fix that problem.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minster586/OpenInv#10
No description provided.