Skip to content

Commit

Permalink
fix: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
zimuya4153 committed Feb 11, 2025
1 parent 69cc5e6 commit 2fc8861
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Waila.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "lse-quickjs",
"description": "普普通通的搞高亮显示",
"author": "小小的子沐呀",
"version": "1.4.4",
"version": "1.4.5",
"dependencies": [
{
"name": "legacy-script-engine-quickjs"
Expand Down
4 changes: 2 additions & 2 deletions tooth.json
Original file line number Diff line number Diff line change
@@ -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": "普普通通的高亮显示~",
Expand All @@ -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",
Expand Down

0 comments on commit 2fc8861

Please sign in to comment.