mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-01 16:12:53 -04:00
Added coloring to the 'Used in Collection' attribute for collection items
This commit is contained in:
@@ -754,11 +754,12 @@ public class LootService implements INetworkDispatch {
|
||||
setSTFParams(droppedItem, STFparams);
|
||||
}
|
||||
|
||||
if (addToCollection!=null){
|
||||
if (addToCollection!=null) {
|
||||
droppedItem.getAttributes().put("@obj_attr_n:collection_name", "@collection_n:"+addToCollection);
|
||||
//droppedItem.getAttributes().put("@obj_attr_n:collection_name", "\\#FFFF00 @collection_n:"+addToCollection + " \\#FFFFFF ");
|
||||
//core.collectionService.addCollection(actor, "new_prof_officer_master")
|
||||
droppedItem.setAttachment("radial_filename", "item/collection/loot_collection");
|
||||
droppedItem.setAttachment("AddToCollection", addToCollection);
|
||||
//System.out.println("collection");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user