Skip to content

Torch placement augment ignores protection rules #303

@dandyjay

Description

@dandyjay

Describe the bug

On Fabric 1.20.1, the backpack torch augment is placing torches despite being in no-placement areas. It seems to ignore restrictions on the player, such as spawn protection radius for example. This also has consequences with mods like YAWP or plugins like worldguard.

To Reproduce

  1. Enter protected spawn region
  2. Equip backpack with torch placing augment with a number of torches in the bag
  3. Run around
  4. Torches are placed despite player's block-placing restrictions.

Expected behavior

Torches should not be placed from the backpack in regions that restrict placement, similar to how it is disabled in adventure mode.

Mod Version

3.0.9

Minecraft Version

1.20.1

Modloader

Fabric

Crash Log (if applicable)

No response

Additional context

I'm using backpacked on my server with YAWP to protect the spawn, and someone ran through with the backpack on and now there are torches everywhere lol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions