[SPIGOT-6907] Oxygen does not restore up to value set by LivingEntity#setMaximumAir() Created: 22/Jan/22 Updated: 22/Jan/22 Resolved: 22/Jan/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | FACEGUY | Assignee: | Marvin Rieple |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Version: | 1.18.1-R0.1 |
Guidelines Read: | Yes |
Description |
Setting maximum air of an entity will work, but it will stop restoring oxygen when it reaches the vanilla maximum air level. Without regenerating to full, the feature becomes pointless aside from manually setting oxygen levels.
Reproduction:
|
Comments |
Comment by Marvin Rieple [ 22/Jan/22 ] |
Made a PR for this: craftbukkit#997 |