Remove item max stack check.
This commit is contained in:
parent
0aa44fed67
commit
daf56053c8
2 changed files with 3 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ namespace TShockAPI
|
|||
Tools.Broadcast(plStr + " was kicked by " + Tools.FindPlayer(ply));
|
||||
}
|
||||
else
|
||||
Tools.SendMessage(ply, "You can't ban another admin!", new float[] { 255f, 0f, 0f });
|
||||
Tools.SendMessage(ply, "You can't kick another admin!", new float[] { 255f, 0f, 0f });
|
||||
}
|
||||
else
|
||||
Tools.SendMessage(ply, "Invalid player!", new float[] { 255f, 0f, 0f });
|
||||
|
|
|
|||
|
|
@ -466,11 +466,11 @@ namespace TShockAPI
|
|||
|
||||
public static bool CheckInventory(int plr)
|
||||
{
|
||||
for (int i = 0; i < 44; i++)
|
||||
/*for (int i = 0; i < 44; i++)
|
||||
{
|
||||
if (Main.player[plr].inventory[i].stack > Main.player[plr].inventory[i].maxStack)
|
||||
return true;
|
||||
}
|
||||
}*/
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue