Fixed some errors

This commit is contained in:
Seefo
2014-05-06 17:55:44 -04:00
parent 023f5bfef9
commit e76e287689
3 changed files with 36 additions and 35 deletions
+3 -2
View File
@@ -542,8 +542,9 @@ public class LootService implements INetworkDispatch {
int crystalColor = new Random().nextInt(11);
droppedItem.setCustomizationVariable("/private/index_color_1", (byte) crystalColor);
//droppedItem.getAttributes().put("@obj_attr_n:color", resources.datatables.LightsaberColors.get(crystalColor));
droppedItem.getAttributes().put("@obj_attr_n:color", "@jedi_spam:saber_color_" + crystalColor);
droppedItem.getAttributes().put("@obj_attr_n:color", resources.datatables.LightsaberColors.get(crystalColor));
//droppedItem.getAttributes().put("@obj_attr_n:color", "@jedi_spam:saber_color_" + crystalColor); // Commented out for now
}
// Example power crystal