mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-13 19:11:22 +01:00
Simplify MCAccess version tags for support of multiple sub-versions.
This commit is contained in:
parent
4f1e2634f3
commit
e69741f5dc
@ -41,7 +41,7 @@ public class MCAccessBukkit implements MCAccess, BlockPropertiesSetup{
|
|||||||
public String getMCVersion() {
|
public String getMCVersion() {
|
||||||
// Bukkit API.
|
// Bukkit API.
|
||||||
// TODO: maybe output something else.
|
// 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
|
@Override
|
||||||
|
@ -22,7 +22,7 @@ import fr.neatmonster.nocheatplus.utilities.BlockCache;
|
|||||||
public interface MCAccess {
|
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
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getMCVersion();
|
public String getMCVersion();
|
||||||
@ -35,7 +35,7 @@ public interface MCAccess {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the servers command map.
|
* Get the servers command map.
|
||||||
* @return MAy rturn null if not supported.
|
* @return May return null if not supported.
|
||||||
*/
|
*/
|
||||||
public CommandMap getCommandMap();
|
public CommandMap getCommandMap();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user