Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Commit 3d26e0a

Browse files
committed
add banner control.
1 parent 4efedfe commit 3d26e0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

iland-core.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ Map = {
374374
'minecraft:salmon_bucket','minecraft:cod_bucket','minecraft:water_bucket','minecraft:cod_bucket',
375375
'minecraft:lava_bucket','minecraft:bucket','minecraft:flint_and_steel','minecraft:skull',
376376
'minecraft:wooden_axe','minecraft:stone_axe','minecraft:iron_axe','minecraft:golden_axe',
377-
'minecraft:diamond_axe','minecraft:netherite_axe'
377+
'minecraft:diamond_axe','minecraft:netherite_axe','minecraft:banner'
378378
}),
379379
-- # Special attack.
380380
[3] = Array.ToKeyMap({
@@ -4631,6 +4631,7 @@ mc.listen('onUseItemOn',function(player,item,block)
46314631
if string.sub(it,-6,-1) == 'bucket' and perm.use_bucket then return end -- 各种桶
46324632
if string.sub(it,-3,-1) == 'axe' and perm.allow_place then return end -- 斧头给木头去皮(拓充)
46334633
if it == 'minecraft:skull' and perm.allow_place then return end -- 放置头颅(拓充)
4634+
if it == 'minecraft:banner' and perm.allow_place then return end -- 放置旗帜(拓充)
46344635
if it == 'minecraft:glow_ink_sac' and perm.allow_place then return end -- 发光墨囊给木牌上色(拓充)
46354636
if it == 'minecraft:end_crystal' and perm.allow_place then return end -- 末地水晶(拓充)
46364637
if it == 'minecraft:ender_eye' and perm.allow_place then return end -- 放置末影之眼(拓充)

0 commit comments

Comments
 (0)