Skip to content

Commit

Permalink
fix version used in block entity (#99)
Browse files Browse the repository at this point in the history
should be minecraft version not major version
  • Loading branch information
rom1504 authored Oct 26, 2024
1 parent 52fda55 commit 05aed2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockEntity.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const nbt = require('prismarine-nbt')

module.exports = registry => {
if (registry.version.type === 'pc') {
const ChatMessage = require('prismarine-chat')(registry.version.majorVersion)
const ChatMessage = require('prismarine-chat')(registry.version.minecraftVersion)

function signValueToJSONArray (text) {
const texts = []
Expand Down

0 comments on commit 05aed2e

Please sign in to comment.