PaperMC / docs

Documentation for all projects under the PaperMC umbrella.
https://docs.papermc.io/
BSD 2-Clause "Simplified" License
43 stars 112 forks source link

Make classes in plugin examples `public` #397

Closed lynxplay closed 6 months ago

lynxplay commented 6 months ago

The server requires classes loaded from plugin.yml (or paper-plugin.yml) to be public in order to discover and access their constructors. The current code examples define the examples types as package private.

(specifically affected are the brig docs https://docs.papermc.io/paper/dev/commands)

lynxplay commented 6 months ago

Resolved by https://github.com/PaperMC/docs/pull/398