Skip to content

Pots aren't breakable while prevent loot table blocks from being broken is on, even though that is the only way to loot them #74

@BrailleBennett

Description

@BrailleBennett

Spark link

https://spark.lucko.me/ejMe2cMYKy

Expected behavior

I expected the pot to break in the trial chamber, as that is the only way to receive loot from it.

Observed/Actual behavior

The pot was unable to be broken and the message that shows up when other loot table blocks are attempted to be broken appears.

Steps/models to reproduce

Enable the deny breaking of loot table blocks config option in purpur extras
Go to a trial chamber in survival without op
Find a decorative pot
Try breaking it with anything to receive the loot inside
Observe how it won't let you

PurpurExtras version

PurpurExtras version 1.31.0

Agreements

  • I am running the latest version of PurpurExtras available to download from modrinth.com/plugin/purpurextras/versions.
  • I have searched for and ensured there isn't already an open issue regarding this.
  • My version of Minecraft is supported by PurpurExtras.
  • I am using the latest or recommended version of Purpur available from purpurmc.org/downloads.

Other

Patch is handled here:
https://github.com/PurpurMC/PurpurExtras/blob/master/src/main/java/org/purpurmc/purpurextras/modules/LootBlocksProtectionModule.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions