Mojira Archive
MC-138113

Server uses incorrect position when determining hardness for block breaking progress

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.

Fixed

Marcono1234

2018-10-27, 12:31 AM

2020-03-08, 03:19 AM

2020-03-08, 03:18 AM

2

3

Unconfirmed

(Unassigned)

block-breaking

Minecraft 1.13.2

Minecraft 1.14.4 Pre-Release 4