We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug ProtocolLibrary.getProtocolManager() is null
To Reproduce Steps to reproduce the behavior:
private ProtocolManager protocolManager; public void onLoad() { protocolManager = ProtocolLibrary.getProtocolManager(); }
Expected behavior I want to access to ProtocolLibrary.getProtocolManager();
Screenshots
Version Info /protocol dump in pastebin.
/protocol dump
pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>fr.dieuours</groupId> <artifactId>Avalia</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>Avalia</name> <properties> <java.version>21</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <filters> <filter> <artifact>com.comphenix.protocol:ProtocolLib</artifact> <excludes> <exclude>**</exclude> </excludes> </filter> </filters> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>papermc-repo</id> <url>https://repo.papermc.io/repository/maven-public/</url> </repository> <repository> <id>sonatype</id> <url>https://oss.sonatype.org/content/groups/public/</url> </repository> <repository> <id>dmulloy2-repo</id> <url>https://repo.dmulloy2.net/repository/public/</url> </repository> </repositories> <dependencies> <dependency> <groupId>io.papermc.paper</groupId> <artifactId>paper-api</artifactId> <version>1.21.1-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.comphenix.protocol</groupId> <artifactId>ProtocolLib</artifactId> <version>5.1.0</version> <scope>provided</scope> </dependency> </dependencies> </project>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
ProtocolLibrary.getProtocolManager() is null
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I want to access to ProtocolLibrary.getProtocolManager();
Screenshots
Version Info
/protocol dump
in pastebin.pom.xml
The text was updated successfully, but these errors were encountered: