Created
January 31, 2015 02:41
-
-
Save sirsavary/895cecc62ee44f5b9602 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MinecraftVersionImpl implements MinecraftVersion { | |
| private final static String NAME = "@MC_VERSION@"; | |
| private final static boolean LEGACY = false; | |
| private MinecraftVersionImpl() {} | |
| @Override | |
| public String getName() { | |
| return MinecraftVersionImpl.NAME; | |
| } | |
| @Override | |
| public boolean isLegacy() { | |
| return MinecraftVersionImpl.LEGACY; | |
| } | |
| @Override | |
| public int compareTo(MinecraftVersion minecraftVersion) { | |
| return 0; | |
| } | |
| } | |
| // SpongeGame class | |
| @Override | |
| public MinecraftVersion getMinecraftVersion() { | |
| // I need to return an instance here... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment