Skip to content

Target block config.sk doesn't work #7751

Open
@TheLimeGlass

Description

@TheLimeGlass

Skript/Server Version

Skript 2.10.1
Paper 1.21.4

Bug Description

Setting the maximum target block distance: 10000 in the config doesn't work.

Expected Behavior

To get the target block with the defined distance

Steps to Reproduce

Stand 1000 blocks away after setting and reloading the config maximum target block distance: 10000
Then run

\broadcast target block

it's null
While

\broadcast player.getTargetBlockExact(1000)

works

Actual target block works

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationRelated to Skript's official documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions