From 17d8580d6ed852650aac75fb14b242e7a6cb513e Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 5 Dec 2019 20:29:15 +0100 Subject: [PATCH] untested rework of dependent scoreboard source --- SpigotCore_12/src/de/steamwar/scoreboard/SWScoreboard_12.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_12/src/de/steamwar/scoreboard/SWScoreboard_12.java b/SpigotCore_12/src/de/steamwar/scoreboard/SWScoreboard_12.java index 9df5e90..9ac553d 100644 --- a/SpigotCore_12/src/de/steamwar/scoreboard/SWScoreboard_12.java +++ b/SpigotCore_12/src/de/steamwar/scoreboard/SWScoreboard_12.java @@ -25,7 +25,7 @@ public class SWScoreboard_12 { createPacket.getIntegers().write(0, 0); createPacket.getStrings().write(1, title); StructureModifier modifier = createPacket.getEnumModifier(IScoreboardCriteria.EnumScoreboardHealthDisplay.class, 0); - modifier.write(0, "integer"); + modifier.write(0, modifier.getTarget()); sendPacket(player, createPacket); }