give knockbackstick to players
This commit is contained in:
parent
0ee9582cd1
commit
e47d1a7394
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue