Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat committed Jul 2, 2024
1 parent a84ddcb commit f4c8249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function inject (bot, options) {
}

if (bot.supportFeature('dimensionDataInCodec')) { // 1.19+
// pre 1.20.5 before we consolidated login and respawn's SpawnInfo structure into one type,
// pre 1.20.5 before we consolidated login and respawn's SpawnInfo structure into one type,
// "dimension" was called "worldType" in login_packet's payload but not respawn.
if (packet.worldType) {
bot.game.dimension = packet.worldType.replace('minecraft:', '')
Expand Down

0 comments on commit f4c8249

Please sign in to comment.