Skip to content

Commit

Permalink
Fix tab list facet on Bukkit 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
56738 committed Apr 26, 2024
1 parent 5fc9287 commit 1557d3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ private static MethodHandle first(final MethodHandle... handles) {

@Override
public boolean isSupported() {
return (CLIENTBOUND_TAB_LIST_PACKET_CTOR != null || CLIENTBOUND_TAB_LIST_PACKET_CTOR_PRE_1_17 != null) && CLIENTBOUND_TAB_LIST_PACKET_SET_HEADER != null && CLIENTBOUND_TAB_LIST_PACKET_SET_FOOTER != null && super.isSupported();
return (CLIENTBOUND_TAB_LIST_PACKET_CTOR != null || (CLIENTBOUND_TAB_LIST_PACKET_CTOR_PRE_1_17 != null && CLIENTBOUND_TAB_LIST_PACKET_SET_HEADER != null && CLIENTBOUND_TAB_LIST_PACKET_SET_FOOTER != null)) && super.isSupported();
}

protected Object create117Packet(final Player viewer, final @Nullable Object header, final @Nullable Object footer) throws Throwable {
Expand Down

0 comments on commit 1557d3c

Please sign in to comment.