Java 类net.minecraft.server.PlayerSelector 实例源码

项目:CraftBukkit    文件:VanillaCommandWrapper.java   
private int getPlayerListSize(String as[]) {
    for (int i = 0; i < as.length; i++) {
        if (vanillaCommand.isListStart(as, i) && PlayerSelector.isList(as[i])) {
            return i;
        }
    }
    return -1;
}
项目:Tweakkit-Server    文件:VanillaCommandWrapper.java   
private int getPlayerListSize(String as[]) {
    for (int i = 0; i < as.length; i++) {
        if (vanillaCommand.isListStart(as, i) && PlayerSelector.isList(as[i])) {
            return i;
        }
    }
    return -1;
}