From 93da83cec7726fa119b7907c2a06b1fc76de3f12 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 31 Dec 2019 16:39:43 +0100 Subject: [PATCH] Fixing Colorsetting for 1.14+ Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/fight/FightTeam_14.java | 2 +- .../src/de/steamwar/fightsystem/fight/FightTeam_15.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java b/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java index a5eef37..7632352 100644 --- a/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java +++ b/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java @@ -37,7 +37,7 @@ class FightTeam_14 { private static final Set CONCRETE_POWDER_SET = Collections.singleton(Objects.requireNonNull(BlockTypes.PINK_CONCRETE_POWDER).getDefaultState().toBaseBlock()); static void setTeamColor(Team team, ChatColor color){ - FightTeam_10.setTeamColor(team, color); + team.setColor(color); } static void replaceTeamColor(EditSession e, DyeColor c, int cornerX, int cornerY, int cornerZ){ diff --git a/FightSystem_15/src/de/steamwar/fightsystem/fight/FightTeam_15.java b/FightSystem_15/src/de/steamwar/fightsystem/fight/FightTeam_15.java index 71eabc6..83d6a9b 100644 --- a/FightSystem_15/src/de/steamwar/fightsystem/fight/FightTeam_15.java +++ b/FightSystem_15/src/de/steamwar/fightsystem/fight/FightTeam_15.java @@ -13,7 +13,7 @@ class FightTeam_15 { private FightTeam_15(){} static void setTeamColor(Team team, ChatColor color){ - FightTeam_10.setTeamColor(team, color); + FightTeam_14.setTeamColor(team, color); } static void replaceTeamColor(EditSession e, DyeColor c, int cornerX, int cornerY, int cornerZ){