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
/** | |
* <p>Internal implementation of the SynchronousScheduler interface.</p> | |
* | |
* @see {@link org.spongepowered.api.service.scheduler.SynchronousScheduler} API reference | |
*/ |
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; | |
} |
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
@Override | |
public MinecraftVersion getMinecraftVersion() { | |
return new MinecraftVersion() { | |
@Override | |
public String getName() { | |
return "@MC_VERSION@"; | |
} | |
@Override | |
public boolean isLegacy() { |
NewerOlder