diff --git a/docs/en/user_guide/advanced/paperweight.md b/docs/en/user_guide/advanced/paperweight.md index 696192b..13c0641 100644 --- a/docs/en/user_guide/advanced/paperweight.md +++ b/docs/en/user_guide/advanced/paperweight.md @@ -35,6 +35,31 @@ paperweight { } ``` +If you are using the unofficial maven port of paperweight, [paper-nms-maven-plugin](https://github.com/Alvinn8/paper-nms-maven-plugin), you can fix the issue by excluding the `paper-nms` artifact at test time in your `pom.xml`: + +```xml + + + + ca.bkaw + paper-nms-maven-plugin + 1.4.11-SNAPSHOT + + + org.apache.maven.plugins + maven-surefire-plugin + + + + ca.bkaw:paper-nms + + + + + + +``` + ::: warning With this, you can't use any NMS behavior during tests with MockBukkit :::