Skip to content

Commit 05aed2e

Browse files
authored
fix version used in block entity (#99)
should be minecraft version not major version
1 parent 52fda55 commit 05aed2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blockEntity.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const nbt = require('prismarine-nbt')
22

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

77
function signValueToJSONArray (text) {
88
const texts = []

0 commit comments

Comments
 (0)