pop4959 / Bolt

Modern protection solution for individual blocks and entities
GNU General Public License v3.0
49 stars 7 forks source link

[bug] Copper doors broken on 1.21 #146

Closed jarda09 closed 1 month ago

jarda09 commented 3 months ago

If I use Right Click it does that: https://youtu.be/sZiirv-cnw0

pop4959 commented 3 months ago

Normally Bolt doesn't need to add support for new doors (it uses the #doors tag) but for double opening, since these are new "iron doors" we'll need to update that piece. Currently Bolt assumes that iron doors are the only kind of door that cannot be opened by hand normally (which isn't true anymore, there's probably a new tag for this).

jarda09 commented 2 months ago

I created own hotfix using this in Doors.java:

image image

pop4959 commented 2 months ago

Apologies for the delay, I have been quite busy recently (which is why things have been slow on quite a few of my projects).

Fix looks good, I would probably look at using tags. If you are willing to make a pull request, I can merge it. Otherwise, I will try to take a look at this myself soon. Thanks!

jarda09 commented 1 month ago

Ok, I created a pull request. https://github.com/pop4959/Bolt/pull/151

In the end, I did it differently, using tags and added double openings with different oxidation of the copper doors.

pop4959 commented 1 month ago

Fixed in 0b9b9b92c3ed4854a137dee52dade8db5ae80ccc