From 713dd2614a66255e7aea10237b95036e8b62208b Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Sun, 17 Dec 2017 12:40:24 -0700 Subject: [PATCH] Fix regression where Bouncer would create dupe items on drop --- TShockAPI/Bouncer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index 65d1865f..a65f840c 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -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; }