Skip to content

Commit

Permalink
Revert Default Text Color from green to white (pre-1.14.2 behavior)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZockerAxel committed Jul 19, 2021
1 parent 5a3af09 commit 7869d16
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import com.google.gson.annotations.SerializedName;

import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.chat.TextComponent;
import net.minecraft.advancements.AdvancementFrameType;

Expand Down Expand Up @@ -66,7 +65,6 @@ public AdvancementDisplay(Material icon, String title, String description, Advan
this.icon = new ItemStack(icon);
this.iconID = icon;
TextComponent titleComponent = new TextComponent(title);
titleComponent.setColor(ChatColor.GREEN);
this.title = new JSONMessage(titleComponent);
this.description = new JSONMessage(new TextComponent(description));
this.frame = frame;
Expand Down Expand Up @@ -113,7 +111,6 @@ public AdvancementDisplay(Material icon, String title, String description, Advan
this.icon = new ItemStack(icon);
this.iconID = icon;
TextComponent titleComponent = new TextComponent(title);
titleComponent.setColor(ChatColor.GREEN);
this.title = new JSONMessage(titleComponent);
this.description = new JSONMessage(new TextComponent(description));
this.frame = frame;
Expand Down Expand Up @@ -160,7 +157,6 @@ public AdvancementDisplay(ItemStack icon, String title, String description, Adva
this.icon = icon;
this.iconID = icon.getType();
TextComponent titleComponent = new TextComponent(title);
titleComponent.setColor(ChatColor.GREEN);
this.title = new JSONMessage(titleComponent);
this.description = new JSONMessage(new TextComponent(description));
this.frame = frame;
Expand Down Expand Up @@ -207,7 +203,6 @@ public AdvancementDisplay(ItemStack icon, String title, String description, Adva
this.icon = icon;
this.iconID = icon.getType();
TextComponent titleComponent = new TextComponent(title);
titleComponent.setColor(ChatColor.GREEN);
this.title = new JSONMessage(titleComponent);
this.description = new JSONMessage(new TextComponent(description));
this.frame = frame;
Expand Down Expand Up @@ -423,7 +418,6 @@ public void setTitle(JSONMessage title) {
*/
public void setTitle(String title) {
TextComponent titleComponent = new TextComponent(title);
titleComponent.setColor(ChatColor.GREEN);
this.title = new JSONMessage(titleComponent);
}

Expand Down

0 comments on commit 7869d16

Please sign in to comment.