Poplar boats are not treated as vehicles: vehicle-place and vehicle-destroy do not apply
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Read worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util/Entities.java, especially isBoat and isVehicle. Check the relevant entity and vehicle flag tests, then verify poplar boats are recognized and existing boat behavior remains covered. Done when vehicle-place and vehicle-destroy apply to poplar boats as described.
Written by the indexing model from the issue text.
Description
Entities.isBoat(EntityType) (worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util/Entities.java, lines 121-129 on master) is a fixed list of boat types that does not include Minecraft 26.3's POPLAR_BOAT and POPLAR_CHEST_BOAT.
Because isVehicle depends on it, the vehicle-place and vehicle-destroy flags never apply to poplar boats: placing or breaking one is checked as an ordinary build action, and damaging one is checked against interact. With vehicle-place allow or vehicle-destroy allow set on a region, a non-member can place or break an oak boat but not a poplar boat.
The list is unchanged on master (578e8023) and on version/7.0.x (59e136a5). Tested on Paper 26.3 build 256.
Suggestion: classify by the entity class (Boat.class.isAssignableFrom(type.getEntityClass())), which covers both poplar types and any future boat.
- Dominant language
- Java
- Stars
- 944
- Forks
- 686
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/WorldGuard
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
EngineHub/WorldGuard#2332 ·
-
status:invalid type:bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
EngineHub/WorldGuard#2333 · 1 comment · 1 reaction ·
-
End Crystal explosion gets fully cancelled even if a small part of the explosion affects a protected areaPossibly taken @Almost10 claimed this 18 days ago. Openstatus:pending type:bug
Difficulty 3/5 Half a day Newbie friendliness 62/100
EngineHub/WorldGuard#2323 · 4 comments ·
-
status:pending type:feature-request
Difficulty 3/5 1-2 days Newbie friendliness 54/100
EngineHub/WorldGuard#2320 ·
-
status:upstream type:bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
EngineHub/WorldGuard#2314 · 6 comments ·
All issues in EngineHub/WorldGuard
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
RegistryExceptionHandler uses self-referencing basePackageClasses instead of a controller classOpenbug finsim-registry good-first-issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug level:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
exoego/keycloak-fuhito#666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
hammy275/immersive-mc#669 ·