Adventure-Terraria-Server-Project / Protector-Plugin

Protector plugin for Terraria Server API and TShock.
GNU General Public License v3.0
10 stars 19 forks source link

Chest refill bug #62

Open moisterrific opened 4 years ago

moisterrific commented 4 years ago

When I take an item out of an existing chest after installing Protector, the item re-appears again when I open the chest. And if I try to place an item into an empty chest, it disappears the next time I open them. Everything else seems to be working fine though, and I haven't changed anything in the config.

No error msgs or exceptions at all.

This affects both non-protected and protected chests.

Steps to reproduce

  1. install protector plugin
  2. load into the world
  3. open any chest that contains items from before the plugin was added
  4. take item out from the chest and into your inventory
  5. close the chest
  6. open that same chest again, now the item you just took out re-appears again

oh yea it's also worth mentioning I downloaded the source code myself and compiled it against a mobile port of TShock 4.3.26 and against a mobile ported version of Plugin Common Library. (didn't change anything major in PCL other than commenting out 1.3.1 stuff). As for Protector, I just removed/commented out some irrelevant stuff like economy or whatever.