Skip to content

Incompatibility with Excavated Variants. #292

@CorruptData404

Description

@CorruptData404

Have you performed isolation testing?
Yes

Describe the bug
A null TagKey produced by getInverseTag() for UNIQUE weapons is causing a NPE within Excavated Variants causing all ores added by Excavated Variants to have no mining level. Returning a Empty tag instead may fix this.

To Reproduce
Steps to reproduce the behaviour:

  1. Install Excavated Variants alongside Simply Swords (+ all dependencies) for Neoforge 1.21.1
  2. Go into a test world.
  3. Place down any Excavated Variant ore EX: Diorite Iron Ore
  4. Spawn in netherite pickaxe (Max mining level) and attempt to mine ore in survival
  5. See error

Expected behavior
Excavated Variant ores to have correct mining levels while simply swords is also installed.

Screenshots

Image

Additional Info:

  • Modloader: NeoForge
  • Modloader Version: 21.1.214
  • Minecraft Version: 1.21.1
  • Mod Version: SS: 1.62.0-1.21.1, EV: 4.3.1
  • Environment: Singleplayer, Multiplayer (Server)

Additional context
I attempted to fix this from Excavated Variants' side here but the mod has not been updated for over a year. If this issue persists it may pop up as incompatibilities with other mods as a null tag is not typically expected and accounted for.

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