Skip to content

Commit

Permalink
Do not prefix names with strings
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTank committed Jan 13, 2023
1 parent ea11971 commit 24c7b6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export class InspectorProxy extends EventEmitter {
this.conn.bot.once('login', () => {
if (!this.conn) return
this.fakePlayer = new FakePlayer(this.conn.stateData.bot, {
username: '[Bot] ' + this.conn.bot.username,
username: this.conn.bot.username,
uuid: this.conn.bot._client.uuid,
positionTransformer: this.conn.positionTransformer
})
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export class FakeSpectator {
gameMode: 3
})
this.makeInvisible(client)
this.addToTab(client, 3, '[You] ' + client.username)
this.addToTab(client, 3, client.username)
}
revertToNormal(client: ServerClient) {
this.writeRaw(client, 'position', {
Expand Down

0 comments on commit 24c7b6c

Please sign in to comment.