From 38d398b899c7c301f3f9889d0fcfe632229c42fe Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 5 Dec 2019 20:14:04 +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 73fe13a..9df5e90 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, IScoreboardCriteria.EnumScoreboardHealthDisplay.INTEGER); + modifier.write(0, "integer"); sendPacket(player, createPacket); }