Skip to content

Commit c267a75

Browse files
authored
Always send extra attributes in 1.20.5 (ViaVersion#4742)
1 parent 7657a59 commit c267a75

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/EntityPacketRewriter1_20_5.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,8 @@ public void register() {
279279

280280
storage.clear();
281281

282-
// Handle creative interaction range
283282
final byte gamemode = wrapper.get(Types.BYTE, 0);
284-
if (gamemode == GameMode.CREATIVE.id()) {
285-
sendRangeAttributes(wrapper.user(), true);
286-
}
283+
sendRangeAttributes(wrapper.user(), gamemode == GameMode.CREATIVE.id());
287284
});
288285
}
289286
});

0 commit comments

Comments
 (0)