Adventure-Terraria-Server-Project / AdvancedCircuits-Plugin

Advanced Circuits Plugin for Terraria Server API and TShock.
GNU General Public License v3.0
8 stars 8 forks source link

No Loosing of Statues #4

Closed CoderCow closed 11 years ago

CoderCow commented 12 years ago

If a Statue is placed on a wired tile, but the user has no permission to wire up the given Statue, the Statue will be lost. Implement that the Statue item is dropped instead of being lost instead.

Ijwu commented 12 years ago

I believe there is a method in the WorldGen class to destroy a block and optionally drop its item. Perhaps you could replace what you currently use to remove the statue with that instead.

CoderCow commented 12 years ago

That's nice, I thought I would have to implement that by hand.