{"comment":{"url":"https://api.github.com/repos/instance01/MinigamesAPI/comments/9247066","html_url":"https://github.com/instance01/MinigamesAPI/commit/7070fe15b18af6ef96db33295e872e53b2b9df74#commitcomment-9247066","id":9247066,"user":{"login":"confuser","id":1658997,"avatar_url":"https://avatars.githubusercontent.com/u/1658997?v=3","gravatar_id":"","url":"https://api.github.com/users/confuser","html_url":"https://github.com/confuser","followers_url":"https://api.github.com/users/confuser/followers","following_url":"https://api.github.com/users/confuser/following{/other_user}","gists_url":"https://api.github.com/users/confuser/gists{/gist_id}","starred_url":"https://api.github.com/users/confuser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confuser/subscriptions","organizations_url":"https://api.github.com/users/confuser/orgs","repos_url":"https://api.github.com/users/confuser/repos","events_url":"https://api.github.com/users/confuser/events{/privacy}","received_events_url":"https://api.github.com/users/confuser/received_events","type":"User","site_admin":false},"position":56,"line":957,"path":"API/src/main/java/com/comze_instancelabs/minigamesapi/util/Util.java","commit_id":"7070fe15b18af6ef96db33295e872e53b2b9df74","created_at":"2015-01-12T19:06:41Z","updated_at":"2015-01-12T19:06:41Z","body":"Would it not be better just to detect if the version is less than v1_7_R4 instead and default to getScore(String), otherwise this will require a change in the if statement for every server version update from now on.\r\n\r\nThis check could be moved to a class private variable too, to avoid performing the check every time getScore is called, as the minecraft version should never change once the process has started."}}