CivClassic / ItemExchange

ItemExchange is a Minecraft plugin that allows players to make shops to physically buy and sell items. Built for Paper 1.16.5
Other
0 stars 10 forks source link

Allow shop blocks to power buttons #7

Closed CivTopWolf closed 4 years ago

CivTopWolf commented 4 years ago

Fix an issue where if a dropper was directly behind a shop chest, and a button was attached to that dropper, the dropper would not activate upon a successful transaction. This limitation disallows certain useful shop designs.

Protonull commented 4 years ago

This change removes one line from the code that causes the automatic button press upon a successful transaction to not work if the button's host block is a dropper or dispenser. This shouldn't do anything nasty, after all, the old code didn't include such a check and it seemed to be fine.

Maxopoly commented 4 years ago

Thanks for the contribution

Maxopoly commented 4 years ago

Staged and will be deployed with next restart