Skip to content

Commit

Permalink
Fix boss bars
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Dec 7, 2014
1 parent e7e011e commit 82a529b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -118,9 +118,9 @@ public static PacketPlayInClientCommand getRespawnPacket() {
public static DataWatcher getWatcher(String text, int health) {
DataWatcher watcher = new DataWatcher(null);
watcher.a(0, (byte) 0x20); //Flags, 0x20 = invisible
watcher.a(2, text); //Entity name
watcher.a(3, (byte) 1); //Show name, 1 = show, 0 = don't show
watcher.a(6, (float) health);
watcher.a(10, text); //Entity name
watcher.a(11, (byte) 1); //Show name, 1 = show, 0 = don't show
return watcher;
}

Expand Down

0 comments on commit 82a529b

Please sign in to comment.