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

fixes #25 and #35 and double reinforcement #36

Closed Protonull closed 4 years ago

Protonull commented 4 years ago

The big set of changes in the switch is mostly just fixing the indentation and Github is displaying it weirdly. The substantive changes are as follows:

  1. Bed data is read from block data instead of the deprecated material data. This appears to have fixed the issue on my test server.

  2. The double chest reinforcement check has been embedded into getReinforcementProtecting()

  3. There's a reinforcement check when placing blocks in Fortification mode to prevent double reinforcement, such as with double chests and slabs.

Maxopoly commented 4 years ago

Cool, great work, thank you!