Skip to content

EzMine 2.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Jun 18:11
7476399

Fixed

  • Null pointer exception in vein mining - VeinMineUtil.findVein() now gracefully handles null origin block
  • Null pointer exception in area mining - AreaMineUtil.mine3x3() now validates center block and world before use
  • Locale-sensitive string comparison - AllowedActions.isAllowed() now uses toLowerCase(Locale.ROOT) for consistent behavior
  • Redundant validation - Removed redundant shopCost < 0 check in CustomToolDefinition.validate() (constructor already clamps)
  • Inconsistent action matching - CustomToolListener.onItemHeld() now uses case-insensitive action matching consistent with onPlayerInteract()

Added

  • Unit tests - Added test coverage for bug fixes in AllowedActions, VeinMineUtil, and CustomToolDefinition


Documentation · Modrinth