Civcraft / Citadel

Do not open issues here; open them on the maintained fork @ DevotedMC
https://github.com/DevotedMC/Citadel
BSD 3-Clause "New" or "Revised" License
6 stars 23 forks source link

Admins automatically break hardening blocks when they shouldn't. #138

Closed ShadedJon closed 8 years ago

ShadedJon commented 8 years ago

What goes right when an admin places a block without hardening:

Places block

Instantly hardens

Turns off CTB

Takes one durability off.


What happens if the block is still hardening:

Places block

Hardens in 15 minutes. Config is set to do double damage while it hardens.

Turns off CTB

Breaks at 14.9 minutes into hardening. Breaks at 10 minutes hardening. Breaks at 1 minute hardening.

General user without op does double damage as normal.

rourke750 commented 8 years ago

So little confused? Are you saying that admins only do 1 hit of damage and that the hardening stuff is ignored for admins?

rourke750 commented 8 years ago

@ShadedJon

ProgrammerDan commented 8 years ago

No, Operators/Admins instantly break blocks unless fully hardened.

jjj5311 commented 8 years ago

Any admin with citadel.admin.bypass bypass will automatically bypass reinforcement it looks like

https://github.com/Civcraft/Citadel/blob/master/src/vg/civcraft/mc/citadel/listener/BlockListener.java#L167

ProgrammerDan commented 8 years ago

This is a feature. If you're using pex just do pex user add -citadel.admin.bypassmode to remove that permission and disable auto-bypass.