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

ReinforcementLogic#resolveDoubleChestReinforcement #26

Closed Maxopoly closed 4 years ago

Maxopoly commented 4 years ago

https://github.com/CivClassic/Citadel/blob/master/src/main/java/vg/civcraft/mc/citadel/ReinforcementLogic.java#L207

need to properly use

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/type/Chest.html

to determine where/how the other half is instead of just doing a material check.

crimsonblod commented 4 years ago

Potentially related? Doors can be reinforced with two different groups now, one for each block they occupy.

Doublechests can used with hoppers when reinforced if both they and the hopper pulling from them are insecure via the /ctinsecure command.

Insecure hoppers can also push into secure chests.

Maxopoly commented 4 years ago

Could you describe the exact procedure to get a door with two different halves?

Maxopoly commented 4 years ago

Fixed by https://github.com/CivClassic/Citadel/pull/27