Update Forge, mappings and dependencies.

This commit is contained in:
raoulvdberge
2018-09-20 22:58:00 +02:00
parent 511104c948
commit 0641eca086
3 changed files with 7 additions and 7 deletions

View File

@@ -38,13 +38,13 @@ public final class RS {
public final SimpleNetworkWrapper network = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
public final CreativeTabs tab = new CreativeTabs(ID) {
@Override
public ItemStack getTabIconItem() {
public ItemStack createIcon() {
return new ItemStack(RSItems.STORAGE_HOUSING);
}
};
public final CreativeTabs coversTab = new CreativeTabs(ID + ".covers") {
@Override
public ItemStack getTabIconItem() {
public ItemStack createIcon() {
ItemStack stack = new ItemStack(RSItems.COVER);
ItemCover.setItem(stack, new ItemStack(Blocks.STONE));

View File

@@ -420,7 +420,7 @@ public final class RenderUtils {
for (int i = 0; i < lines.size(); ++i) {
if (i == 0) {
lines.set(i, stack.getRarity().rarityColor + lines.get(i));
lines.set(i, stack.getRarity().color + lines.get(i));
} else {
lines.set(i, TextFormatting.GRAY + lines.get(i));
}