From 2fc88619f6bdb6a8667132516c2dc3d242ee3896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E6=B2=90=E5=91=80?= <163636894+zimuya4153@users.noreply.github.com> Date: Tue, 11 Feb 2025 23:50:15 +0800 Subject: [PATCH] fix: fix error --- Waila.js | 2 +- manifest.json | 2 +- tooth.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Waila.js b/Waila.js index 970ffe7..44bd4e8 100644 --- a/Waila.js +++ b/Waila.js @@ -75,7 +75,7 @@ setInterval(() => { 'HandItem': Player.getHand(), 'BlockNbt': ViewBlock ? ViewBlock.getNbt() : null, 'BlockEntityNbt': ViewBlock?.hasBlockEntity() ? ViewBlock?.getBlockEntity()?.getNbt() : null, - 'BlockContainer': ViewBlock.hasContainer() ? ViewBlock.getContainer() : null, + 'BlockContainer': ViewBlock?.hasContainer() ? ViewBlock?.getContainer() : null, 'EntityNbt': ViewEntity ? ViewEntity.getNbt() : null, 'BuffKeyID': ['potion.empty', 'potion.moveSpeed', 'potion.moveSlowdown', 'potion.digSpeed', 'potion.digSlowDown', 'potion.damageBoost', 'potion.heal', 'potion.harm', 'potion.jump', 'potion.confusion', 'potion.regeneration', 'potion.resistance', 'potion.fireResistance', 'potion.waterBreathing', 'potion.invisibility', 'potion.blindness', 'potion.nightVision', 'potion.hunger', 'potion.weakness', 'potion.poison', 'potion.wither', 'potion.healthBoost', 'potion.absorption', 'potion.saturation', 'potion.levitation', 'potion.poison', 'potion.conduitPower', 'potion.slowFalling', 'effect.badOmen', 'effect.villageHero', 'effect.darkness'], } diff --git a/manifest.json b/manifest.json index d5e595f..ffc538d 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "type": "lse-quickjs", "description": "普普通通的搞高亮显示", "author": "小小的子沐呀", - "version": "1.4.4", + "version": "1.4.5", "dependencies": [ { "name": "legacy-script-engine-quickjs" diff --git a/tooth.json b/tooth.json index 228e88d..41c6cdd 100644 --- a/tooth.json +++ b/tooth.json @@ -1,7 +1,7 @@ { "format_version": 2, "tooth": "github.com/ZMBlocks/LSE_Waila", - "version": "1.4.4", + "version": "1.4.5", "info": { "name": "LSE_Waila", "description": "普普通通的高亮显示~", @@ -15,7 +15,7 @@ "legacyscriptengine" ] }, - "asset_url": "https://github.com/ZMBlocks/LSE_Waila/releases/download/v1.4.4/LSE_Waila-1.4.4.zip", + "asset_url": "https://github.com/ZMBlocks/LSE_Waila/releases/download/v1.4.5/LSE_Waila-1.4.5.zip", "prerequisites": { "github.com/LiteLDev/LeviLamina": ">=1.0.0-rc.1", "gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs": ">=0.9.0-rc.1",