give knockbackstick to players

This commit is contained in:
chmodsayshello 2022-10-09 21:50:24 +02:00
parent 0ee9582cd1
commit e47d1a7394
1 changed files with 2 additions and 1 deletions

View File

@ -5,9 +5,10 @@ local function set_player_inventory(player)
local pickstack = ItemStack("the_bridge:diapick") local pickstack = ItemStack("the_bridge:diapick")
local swordstack = ItemStack("the_bridge:stonesword") local swordstack = ItemStack("the_bridge:stonesword")
local gapplestack = ItemStack("the_bridge:gapple 16") local gapplestack = ItemStack("the_bridge:gapple 16")
local knockback_stickstack = ItemStack("the_bridge:knockback_stick")
local inv = player:get_inventory() local inv = player:get_inventory()
local hotbar = {swordstack,pickstack,gapplestack,stonestack,stonestack,stonestack} local hotbar = {swordstack,pickstack,gapplestack,knockback_stickstack,stonestack,stonestack,stonestack}
inv:set_list("main", hotbar) inv:set_list("main", hotbar)
end end