Skip to content

Commit

Permalink
Auto features: Inventory full chat notification: bug fix. This fixes …
Browse files Browse the repository at this point in the history
…using the wrong player object.

It now use prison's player object so the color codes are properly translated.
  • Loading branch information
rbluer committed Apr 28, 2024
1 parent 5d183cb commit 638b3d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/changelog_v3.3.x.md
Expand Up @@ -17,6 +17,10 @@ These change logs represent the work that has been going on within prison.
# 3.3.0-alpha.17 2024-04-28


* **Auto features: Inventory full chat notification: bug fix. This fixes using the wrong player object.**
It now use prison's player object so the color codes are properly translated.


* **Placeholders: bug fix: When using a search from the console which included a player name, it was generating an invalid cast to a SpigotPlayer object when it wasn't related to that class due to the player being offline.**


Expand Down
Expand Up @@ -1711,7 +1711,7 @@ else if ( new BluesSpigetSemVerComparator().compareMCVersionTo( "1.13.0" ) < 0 )
}
else {

player.sendMessage( message );
(new SpigotPlayer( player )).sendMessage( message );
}

// holographic display for showing full inventory does not work well.
Expand Down

0 comments on commit 638b3d9

Please sign in to comment.