Skip to content

ci: verify NMS interaction classes are packaged - #418

Open
gamingjovi wants to merge 1 commit into
DecentSoftware-eu:mainfrom
gamingjovi:main
Open

ci: verify NMS interaction classes are packaged#418
gamingjovi wants to merge 1 commit into
DecentSoftware-eu:mainfrom
gamingjovi:main

Conversation

@gamingjovi

Copy link
Copy Markdown

This adds a CI check to verify that the distributable DecentHolograms jar contains the NMS classes required for entity and hologram interactions.

A Paper 26.2 server running DecentHolograms 2.10.1 produced the following disconnect when attacking a hologram:

Internal Exception: java.lang.NoClassDefFoundError: eu/decentsoftware/holograms/nms/api/event/NmsEntityInteractAction

The affected class exists in the source tree and is referenced by the 26.2 inbound packet handler, so this adds a packaging regression check rather than changing interaction behavior.

CI now verifies that the final plugin jar contains:

  • NmsEntityInteractAction.class
  • NmsEntityInteractEvent.class
  • v26_2/InboundPacketHandler.class

If any of these runtime classes are missing from the distributable jar, the build will fail instead of allowing an incomplete artifact to be published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant