diff options
Diffstat (limited to 'src/main/java')
| -rwxr-xr-x | src/main/java/darkknight/jewelrycraft/util/JewelrycraftUtil.java | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/util/JewelrycraftUtil.java b/src/main/java/darkknight/jewelrycraft/util/JewelrycraftUtil.java index 397f501..6d207ff 100755 --- a/src/main/java/darkknight/jewelrycraft/util/JewelrycraftUtil.java +++ b/src/main/java/darkknight/jewelrycraft/util/JewelrycraftUtil.java @@ -119,49 +119,7 @@ public class JewelrycraftUtil { @SideOnly(Side.CLIENT)
public static void generateColors() {
- /*
- * Doesn't seem to do much of anything
- */
- /*
- for (Object item : GameData.getItemRegistry()) {
- if (item != null) {
- if (Loader.isModLoaded("Mantle")
- && ((Item) item).getUnlocalizedName()
- .equals("Mantle:item.mantle.manual")) {
- continue;
- }
-
- try {
- if (itemHasSubtypes(item)) {
- ((Item) item).getSubItems(
- (Item) item,
- null,
- items);
- } else {
- ItemStack it = new ItemStack(
- (Item) item);
- colors.put(it, color(it,
- 0));
- }
-
- if (!items.isEmpty()) {
- for (ItemStack it : items) {
- colors.put(it, color(
- it,
- 0));
- }
- }
-
- items.removeAll(items);
- } catch (Exception e) {
- JewelrycraftMod.logger.info(
- "Error, tried to add the color of the item "
- + ((Item) item).getUnlocalizedName()
- + " but something went wrong.");
- }
- }
- }
- */
+
}
@SideOnly(Side.CLIENT)
|
