Coin Gun is not eligible for this ;)
This commit is contained in:
parent
a1fa2cdb9c
commit
55537d3034
1 changed files with 2 additions and 2 deletions
|
|
@ -4019,7 +4019,7 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.Player.InventorySlotAvailable || item.name.Contains("Coin") || item.type == 58 || item.type == 184)
|
if (args.Player.InventorySlotAvailable || (item.name.Contains("Coin") & item.type != 905) || item.type == 58 || item.type == 184)
|
||||||
{
|
{
|
||||||
if (itemAmount == 0 || itemAmount > item.maxStack)
|
if (itemAmount == 0 || itemAmount > item.maxStack)
|
||||||
itemAmount = item.maxStack;
|
itemAmount = item.maxStack;
|
||||||
|
|
@ -4099,7 +4099,7 @@ namespace TShockAPI
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var plr = players[0];
|
var plr = players[0];
|
||||||
if (plr.InventorySlotAvailable || item.name.Contains("Coin") || item.type == 58 || item.type == 184)
|
if (plr.InventorySlotAvailable || (item.name.Contains("Coin") & item.type != 905) || item.type == 58 || item.type == 184)
|
||||||
{
|
{
|
||||||
if (itemAmount == 0 || itemAmount > item.maxStack)
|
if (itemAmount == 0 || itemAmount > item.maxStack)
|
||||||
itemAmount = item.maxStack;
|
itemAmount = item.maxStack;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue