Skip to content

Commit

Permalink
Apparently EnumDyeColor is wrong, so thats cool. Fix Silver paintbrus…
Browse files Browse the repository at this point in the history
…h -> Light Gray paintbrush, also fixes missing recipe.
  • Loading branch information
darkevilmac committed Sep 1, 2017
1 parent f3d3b17 commit 7ed7a3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/main/java/com/elytradev/teckle/common/TeckleObjects.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,12 @@ public void onRecipeRegisterEvent(RegistryEvent.Register<IRecipe> event) {
'F', new ItemStack(blockFilter));

for (EnumDyeColor color : EnumDyeColor.values()) {
String dyeName = "dye" + color.getUnlocalizedName().substring(0, 1).toUpperCase() + color.getUnlocalizedName().substring(1);
if (color == EnumDyeColor.SILVER)
dyeName = "dyeLightGray";

registerShapedRecipe(registry, new ItemStack(itemPaintBrush, 1, color.getDyeDamage()),
"D ", " W ", " S", 'D', "dye" + color.getUnlocalizedName().substring(0, 1).toUpperCase() + color.getUnlocalizedName().substring(1), 'S', "stickWood", 'W', new ItemStack(Blocks.WOOL));
"D ", " W ", " S", 'D', dyeName, 'S', "stickWood", 'W', new ItemStack(Blocks.WOOL));
}
AlloyRecipes.getInstance().init();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/teckle/lang/en_US.lang
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ item.teckle.paintbrush.yellow.name=Yellow Paintbrush
item.teckle.paintbrush.lime.name=Lime Paintbrush
item.teckle.paintbrush.pink.name=Pink Paintbrush
item.teckle.paintbrush.gray.name=Gray Paintbrush
item.teckle.paintbrush.silver.name=Silver Paintbrush
item.teckle.paintbrush.silver.name=Light Gray Paintbrush
item.teckle.paintbrush.cyan.name=Cyan Paintbrush
item.teckle.paintbrush.purple.name=Purple Paintbrush
item.teckle.paintbrush.blue.name=Blue Paintbrush
Expand Down

0 comments on commit 7ed7a3a

Please sign in to comment.