Fix small dust textures
This commit is contained in:
parent
0dbae6a781
commit
3dd6ca4697
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ package techreborn.items;
|
|||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import reborncore.common.util.StringUtils;
|
||||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
import techreborn.init.ModItems;
|
||||
import techreborn.lib.ModInfo;
|
||||
|
@ -71,7 +72,7 @@ public class ItemDustsSmall extends ItemTextureBase
|
|||
@Override
|
||||
public String getTextureName(int damage)
|
||||
{
|
||||
return ModInfo.MOD_ID + ":items/smallDust/small" + types[damage] + "Dust";
|
||||
return ModInfo.MOD_ID + ":items/smallDust/small" + StringUtils.toFirstCapital(types[damage]) + "Dust";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue