CivClassic / Citadel

A Minecraft plugin to protect your chests and builds using in-game materials. Requires an attacker to break each block a certain number of times. Built for Paper 1.16.5
BSD 3-Clause "New" or "Revised" License
1 stars 21 forks source link

Double chest reinforcements don't protect the other half from breaking #30

Closed Maxopoly closed 4 years ago

Maxopoly commented 4 years ago

Due to not cancelling the final break if the reinforcement is destroyed, the block is broken even if the other chest half is still reinforced.

Need to do a new rein lookup at the current location if the current rein gets broken.

Maxopoly commented 4 years ago

Fixed by https://github.com/CivClassic/Citadel/commit/8eeb9fda6526ee82736b55769ecee026d3751f78