Clone the disguise when fetched

This commit is contained in:
libraryaddict 2014-06-02 10:06:30 +12:00
parent 31a0b68bdc
commit 4bbf0fbece

View File

@ -238,7 +238,7 @@ public class DisguiseUtilities {
public static Disguise getClonedDisguise(String key) { public static Disguise getClonedDisguise(String key) {
if (clonedDisguises.containsKey(key)) { if (clonedDisguises.containsKey(key)) {
return clonedDisguises.get(key); return clonedDisguises.get(key).clone();
} }
return null; return null;
} }