Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-132623

Guardian canBreatheUnderwater() returns false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.12.2
    • None
    • Confirmed
    • (Unassigned)

      The bug

      canBreatheUnderwater() for guardian returns false instead they hard code the air time supply and don't bother with their own boolean system for EntityLiving.canBreatheUnderwater(). It should always return true but, it's always false. This is causing mod incompatibilities with vanilla itself.

      How to fix

      In the code return true rather than false forĀ EntityLiving.canBreatheUnderwater() inside of the class EntityGuardian.class method override it.

            Unassigned Unassigned
            dragonofthelakeabcd jredfox
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: