Commit Graph
2 Commits
Author SHA1 Message Date
Fysac 67d0f927ed Add brackets to avoid ambiguity
Java ignores indentation, which might cause headaches in the future.
2014-08-01 13:53:36 -04:00
Fysac bbacb04636 Null pointer check
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.
2014-08-01 13:36:18 -04:00