CommandHelper

CommandHelper

46.5k Downloads

remove_scoreboard() doesn't seem to set player to main scoreboard

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2877 - Reported by PseudoKnight

Build 2509 & 2467 & 2441 & 2411

To reproduce:

create_scoreboard('test')
set_pscoreboard(player(), 'test')
remove_scoreboard('test')
get_pscoreboard(player())

The result will be the player's name, as it creates a new scoreboard with that name. The expected result is 'main'.

I'm not sure why you guys have it create a scoreboard with the player's name if it can't find one. I assume this is the feature to import other scoreboards, but I think it wasn't intended to pull the player's name.

commented

Comment by LadyCailin

Fixed with PR 273