Fixed PacketAdapter NPE
This commit is contained in:
@@ -22,11 +22,6 @@ public class EcoEnchantsPlugin extends JavaPlugin {
|
||||
*/
|
||||
private final ExtensionLoader loader = new EcoExtensionLoader();
|
||||
|
||||
/**
|
||||
* ProtocolLib
|
||||
*/
|
||||
private final ProtocolManager protocolManager = ProtocolLibrary.getProtocolManager();
|
||||
|
||||
/**
|
||||
* NMS version
|
||||
*/
|
||||
@@ -61,14 +56,6 @@ public class EcoEnchantsPlugin extends JavaPlugin {
|
||||
return loader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get ProtocolLib protocol manager
|
||||
* @return The {@link ProtocolManager} that EcoEnchants interacts with
|
||||
*/
|
||||
public ProtocolManager getProtocolManager() {
|
||||
return protocolManager;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get plugin instance
|
||||
* @return Plugin instance
|
||||
|
||||
Reference in New Issue
Block a user