...item drop wouldn't work with negative IDs
This commit is contained in:
parent
52fff605c7
commit
0b02b90df0
1 changed files with 1 additions and 1 deletions
|
|
@ -2464,7 +2464,7 @@ namespace TShockAPI
|
|||
return true;
|
||||
|
||||
// player is attempting to crash clients
|
||||
if (type < 0 || type >= Main.maxItemTypes)
|
||||
if (type < -24 || type >= Main.maxItemTypes)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue