Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CanItemSlotAccept()

bool Terraria.Player.CanItemSlotAccept ( Item theSlot,
Item theItemToAccept )
inline

Definition at line 37025 of file Player.cs.

37026 {
37027 if (theSlot.type == 0)
37028 {
37029 return true;
37030 }
37031 if (theSlot.stack < theSlot.maxStack && theItemToAccept.IsTheSameAs(theSlot))
37032 {
37033 return true;
37034 }
37035 return false;
37036 }