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

Server uses incorrect position when determining hardness for block breaking progress

    XMLWordPrintable

    Details

    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      1.13.1

      The bug

      Based on 1.13.1 decompiled using MCPConfig.

      The method PlayerInteractionManager.tick() uses in the else if-block the position field delayedDestroyPos for determining the block hardness. This field is only set when finishing block breaking and therefore has at this code location an incorrect value. Instead the field destroyPos should be used.

      This has currently no implications since there is no block which specifies its hardness based on its position.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcono1234 [Mod] Marcono1234
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: