Skip to content

Commit a54b443

Browse files
committed
Fix Minecraft hasPaid check. Moved from http to https
1 parent 9d37c74 commit a54b443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/luricos/bukkit/xAuth/PlayerManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public boolean checkPremiumUser(String userName) {
430430
return true;
431431

432432
// since whe are async use 115s for connection timeout and 250 for read timeout. Better for slow connections
433-
HTTPRequest httpRequest = new HTTPRequest(String.format("http://minecraft.net/haspaid.jsp?user=%s", userName), 115, 250);
433+
HTTPRequest httpRequest = new HTTPRequest(String.format("https://minecraft.net/haspaid.jsp?user=%s", userName), 115, 250);
434434
return Boolean.parseBoolean(httpRequest.getContent());
435435
}
436436

0 commit comments

Comments
 (0)