Skip to content

Commit

Permalink
Also recognize ProtocolLib versions just with build number prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
asofold committed May 16, 2016
1 parent 980af8d commit a32bc25
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -75,6 +75,9 @@ public Collection<Object> getAvailableComponentsOnEnable(NoCheatPlus plugin){
if (pV == null) {
pV = GenericVersion.parseVersionDelimiters(_pV, "", "-snapshot");
}
if (pV == null) {
pV = GenericVersion.parseVersionDelimiters(_pV, "", "-b");
}
if (pV == null) {
// TODO: Was another (specific) attempt parsing planned here !?
StaticLog.logWarning("Could not interpret the version of ProtocolLib, won't activate hooks.");
Expand Down

0 comments on commit a32bc25

Please sign in to comment.