mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
deaktivate mc version check
minecraft hosting not more on amazonaws.com
This commit is contained in:
parent
fd059744e7
commit
6eadb5f29d
@ -110,10 +110,11 @@ function getCraftBukkitVersion () {
|
||||
}
|
||||
|
||||
function getMinecraftVersion($release = 'release') {
|
||||
|
||||
/*
|
||||
$responseBody = webhostRequest('s3.amazonaws.com', 'https://easy-wi.com', '/Minecraft.Download/versions/versions.json');
|
||||
|
||||
$json = @json_decode(cleanFsockOpenRequest($responseBody, '{', '}'));
|
||||
|
||||
return ($json) ? array('version' => $json->latest->$release, 'downloadPath' => 'https://s3.amazonaws.com/Minecraft.Download/versions/' . $json->latest->$release . '/minecraft_server.' . $json->latest->$release . '.jar') : array('version' => '', 'downloadPath' => '');
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user