From 4bbf0fbece768e08bf5e89519d8d1b89193a5a6b Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 2 Jun 2014 10:06:30 +1200 Subject: [PATCH] Clone the disguise when fetched --- src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 34ee097e..970936dd 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -238,7 +238,7 @@ public class DisguiseUtilities { public static Disguise getClonedDisguise(String key) { if (clonedDisguises.containsKey(key)) { - return clonedDisguises.get(key); + return clonedDisguises.get(key).clone(); } return null; }