Fix regression where Bouncer would create dupe items on drop
This commit is contained in:
parent
263c0bc402
commit
713dd2614a
1 changed files with 2 additions and 2 deletions
|
|
@ -370,7 +370,7 @@ namespace TShockAPI
|
|||
}
|
||||
|
||||
//Item removed, let client do this to prevent item duplication
|
||||
// client side (but only if it passed the range check)
|
||||
// client side (but only if it passed the range check) (i.e., return false)
|
||||
if (type == 0)
|
||||
{
|
||||
if (TShock.CheckRangePermission(args.Player, (int)(Main.item[id].position.X / 16f), (int)(Main.item[id].position.Y / 16f)))
|
||||
|
|
@ -381,7 +381,7 @@ namespace TShockAPI
|
|||
return;
|
||||
}
|
||||
|
||||
args.Handled = true;
|
||||
args.Handled = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue