EffectiveSpigot
Toggle table of contents
1.0.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EffectiveSpigot
EffectiveSpigot
/
ru.hukm.effectiveSpigot.minecraft.utils
/
EffectiveInventoryUtils
/
tryGiveItem
try
Give
Item
fun
tryGiveItem
(
item
:
ItemStack
,
player
:
Player
)
:
HashMap
<
Int
,
ItemStack
>
Adds
item
to
player
's inventory; returns the leftover that did not fit (empty if all fit).