ソースを参照

Merge branch 'master' of https://github.com/LTCatt/LTW3

LTCatt 5 年 前
親
コミット
33118c0b64
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      data/item/functions/pop_slot/select_item.mcfunction

+ 1 - 1
data/item/functions/pop_slot/select_item.mcfunction

@@ -40,7 +40,7 @@ execute if score @s item_slot matches 102 run data modify entity @e[type=item,ta
 execute if score @s item_slot matches 103 run data modify entity @e[type=item,tag=LockTempItem,limit=1] Item set from entity @s Inventory[{Slot:103b}]
 execute if score @s item_slot matches 103 run data modify entity @e[type=item,tag=LockTempItem,limit=1] Item set from entity @s Inventory[{Slot:103b}]
 execute if score @s item_slot matches -106 run data modify entity @e[type=item,tag=LockTempItem,limit=1] Item set from entity @s Inventory[{Slot:-106b}]
 execute if score @s item_slot matches -106 run data modify entity @e[type=item,tag=LockTempItem,limit=1] Item set from entity @s Inventory[{Slot:-106b}]
 
 
-execute if score @s item_slot matches 0 run replaceitem entity @s inventory.0 air
+execute if score @s item_slot matches 0 run replaceitem entity @s hotbar.0 air
 execute if score @s item_slot matches 1 run replaceitem entity @s hotbar.1 air
 execute if score @s item_slot matches 1 run replaceitem entity @s hotbar.1 air
 execute if score @s item_slot matches 2 run replaceitem entity @s hotbar.2 air
 execute if score @s item_slot matches 2 run replaceitem entity @s hotbar.2 air
 execute if score @s item_slot matches 3 run replaceitem entity @s hotbar.3 air
 execute if score @s item_slot matches 3 run replaceitem entity @s hotbar.3 air