Open LukaDeVrij opened 1 year ago
Since 1.2.3 this is slightly different. Issue is similar, but cause is different. Scoreboards are now swapped in their entirety, not just the objectives. A new scoreboard is made, which is swapped on the players command. It does not change anything within the main scoreboard. When other objectives are shown on the main scoreboard that are not side_bar, these will also not be visible while the new scoreboard is visible.
When HP displayed in tabList and sidebar, the tabList will be reset.
originalObjective.setDisplaySlot(DisplaySlot.SIDEBAR);
setDisplaySlot: Sets this objective to display on the specified slot for the scoreboard, removing it from any other display slot.
This is where the problem lies.
I probably won't fix this, until I have a fundamentally better way of dealing with scoreboards, and the issue is quite rare.