Skip to content

Commit

Permalink
Add spectator to gameModes array (#3012)
Browse files Browse the repository at this point in the history
  • Loading branch information
zefir-git committed May 13, 2023
1 parent 1fa9f63 commit f813e5f
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 @@ -2,7 +2,7 @@ const nbt = require('prismarine-nbt')
module.exports = inject

const difficultyNames = ['peaceful', 'easy', 'normal', 'hard']
const gameModes = ['survival', 'creative', 'adventure']
const gameModes = ['survival', 'creative', 'adventure', 'spectator']

const dimensionNames = {
'-1': 'minecraft:nether',
Expand Down

0 comments on commit f813e5f

Please sign in to comment.