Package net.wesjd.anvilgui.version
Class VersionMatcher
java.lang.Object
net.wesjd.anvilgui.version.VersionMatcher
Matches the server's NMS version to its
VersionWrapper- Since:
- 1.2.1
- Author:
- Wesley Smith
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.wesjd.anvilgui.version.VersionWrappermatch()Matches the server version to it'sVersionWrapper
-
Constructor Details
-
VersionMatcher
public VersionMatcher()
-
-
Method Details
-
match
public net.wesjd.anvilgui.version.VersionWrapper match()Matches the server version to it'sVersionWrapper- Returns:
- The
VersionWrapperfor this server - Throws:
IllegalStateException- If the version wrapper failed to be instantiated or is unable to be found
-