Skip to content

Commit af44f88

Browse files
UsepotFlorianMichael
authored andcommitted
Remove the wither outline when using the bossbar on 1.9->1.8 (#604)
Adds metadata to the spawn packet to make the wither tiny so the player doesn't see a wither outline when the bossbar is on low health
1 parent 1d1d77a commit af44f88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/main/java/com/viaversion/viarewind/protocol/v1_9to1_8/data/WitherBossBar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ private void addWither() {
203203
entityData.add(new EntityData(2, EntityDataTypes1_8.STRING, title));
204204
entityData.add(new EntityData(3, EntityDataTypes1_8.BYTE, (byte) 1));
205205
entityData.add(new EntityData(6, EntityDataTypes1_8.FLOAT, health * 300f));
206+
entityData.add(new EntityData(20, EntityDataTypes1_8.INT, 880));
206207

207208
addMob.write(Types.ENTITY_DATA_LIST1_8, entityData);
208209
addMob.scheduleSend(Protocol1_9To1_8.class);

0 commit comments

Comments
 (0)