mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
hasClone for TagMap
This commit is contained in:
1 parent
33e5071b11
commit
89efe67f44
1 file changed
+5
-1
@@ -65,8 +65,12 @@ public class TagMap {
|
||||
return this.cloneTab;
|
||||
}
|
||||
|
||||
public boolean hasClone(String cloneName) {
|
||||
return tagMap.containsKey(cloneName);
|
||||
}
|
||||
|
||||
public HashSet<UUID> getUUIDs(String cloneName) {
|
||||
if(tagMap.containsKey(cloneName)){
|
||||
if(hasClone(cloneName)){
|
||||
return tagMap.get(cloneName);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user