From 7dcdc59c8e131a1a52c9f5ed90d36dab2a64aebf Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 8 Dec 2016 16:30:00 +0000 Subject: [PATCH] Fix IllegalArgumentException with BiMap#put --- .../src/main/java/me/lucko/luckperms/common/core/UuidCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/core/UuidCache.java b/common/src/main/java/me/lucko/luckperms/common/core/UuidCache.java index ec7181c4..b00f59ab 100644 --- a/common/src/main/java/me/lucko/luckperms/common/core/UuidCache.java +++ b/common/src/main/java/me/lucko/luckperms/common/core/UuidCache.java @@ -58,7 +58,7 @@ public class UuidCache { public void addToCache(UUID external, UUID internal) { if (onlineMode) return; - cache.put(external, internal); + cache.forcePut(external, internal); } public void clearCache(UUID external) {