Skip to content

Commit

Permalink
Version 0.8.3
Browse files Browse the repository at this point in the history
Fix another NPE on login.
  • Loading branch information
totemo committed Sep 11, 2019
1 parent 5e289b5 commit a767bee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>nu.nerd</groupId>
<artifactId>TPControl</artifactId>
<version>0.8.2</version>
<version>0.8.3</version>
<packaging>jar</packaging>
<name>TPControl</name>
<url>https://github.com/NerdNu/TPControl</url>
Expand Down
4 changes: 3 additions & 1 deletion src/nu/nerd/tpcontrol/UUIDCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ private synchronized void updateCache(Player p) {
}

// Remove old name to UUID mapping if present.
_name_to_uuid.remove(refName);
if (refName != null) {
_name_to_uuid.remove(refName);
}

// Now map it correctly.
_uuid_to_name.put(uuid, name);
Expand Down

0 comments on commit a767bee

Please sign in to comment.