diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-08-22 20:00:53 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-08-22 20:00:53 -0400 |
| commit | 26fb28edd1ebb6390f8803fed3876d222cb8fdba (patch) | |
| tree | 813cf8293ee58c3e17a4dab069b5317e94335424 | |
| parent | 0880617e020f01b783a52e287d83e17e6f40d3a5 (diff) | |
Minor cleanup
| -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)
|
