mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 21:43:54 +00:00
Merge branch 'server' into development
This commit is contained in:
@ -54,7 +54,6 @@ public class Command_donator extends FreedomCommand
|
||||
{
|
||||
FUtil.bcastMsg(ChatColor.AQUA + name + ChatColor.GREEN + " has donated to the server!");
|
||||
}
|
||||
|
||||
Player player = getPlayer(name);
|
||||
|
||||
if (player != null)
|
||||
@ -79,6 +78,8 @@ public class Command_donator extends FreedomCommand
|
||||
try
|
||||
{
|
||||
FUtil.postRequestToEndpoint(url, "POST", headers, payload);
|
||||
String result = FUtil.postRequestToEndpoint(url, "POST", headers, payload);
|
||||
msg(result);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user