Simplify MCAccess version tags for support of multiple sub-versions.

This commit is contained in:
asofold 2013-07-09 11:47:16 +02:00
parent 4f1e2634f3
commit e69741f5dc
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class MCAccessBukkit implements MCAccess, BlockPropertiesSetup{
public String getMCVersion() {
// Bukkit API.
// TODO: maybe output something else.
return "1.4.6|1.4.7|1.5.0|1.5.1|1.5.2|1.6.1|1.6.2|?";
return "1.4.6|1.4.7|1.5.x|1.6.1|1.6.2|?";
}
@Override

View File

@ -22,7 +22,7 @@ import fr.neatmonster.nocheatplus.utilities.BlockCache;
public interface MCAccess {
/**
* Simple version identifiers, if several must be separated by '|' like "1.4.2|1.4.4|1.4.5".
* Simple version identifiers, if several must be separated by '|' like "1.4.2|1.4.4|1.4.5", to indicate multiple sub-versions supported use "1.5.x", use "?" to indicate general future support.
* @return
*/
public String getMCVersion();
@ -35,7 +35,7 @@ public interface MCAccess {
/**
* Get the servers command map.
* @return MAy rturn null if not supported.
* @return May return null if not supported.
*/
public CommandMap getCommandMap();