Clone the disguise when fetched
This commit is contained in:
parent
31a0b68bdc
commit
4bbf0fbece
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user