bergerhealer/TrainCarts

Locked, Finite Train Chests Should Be Removed from the Player’s Inventory

Closed this issue · 3 comments

Feature Request

Description

I think the title is pretty self-explanatory. I would like to suggest that, when you give a locked, finite train chest, the chest item itself should be removed from the player's inventory. Currently, once you place the cart, the item is returned to you, but it now becomes useless, since a locked, finite train chest cannot be used for any other purpose.

Examples

As described above, the item becomes useless once used.

Here is a video describing the issue and subsequent feature request:

javaw_2023-10-08_21-57-25.mp4

Yeah it probably should. I can change that

Added the requested feature, plus a way to change the spawn message or disable it ("").

Oh, and if you were to have a stack of items (you can middle-mouse button to get more than one) it decrements item count until 0, then it removes.

https://ci.mg-dev.eu/job/TrainCarts/1466/

Closing - feature added.