[O] Send remove block async
This commit is contained in:
@@ -179,13 +179,16 @@ public class SeedServerCache extends Behavior
|
|||||||
get.setHeader("y", "" + pos.getY());
|
get.setHeader("y", "" + pos.getY());
|
||||||
get.setHeader("z", "" + pos.getZ());
|
get.setHeader("z", "" + pos.getZ());
|
||||||
|
|
||||||
try
|
new Thread(() ->
|
||||||
{
|
{
|
||||||
http.execute(get);
|
try
|
||||||
}
|
{
|
||||||
catch (IOException e)
|
http.execute(get);
|
||||||
{
|
}
|
||||||
e.printStackTrace();
|
catch (IOException e)
|
||||||
}
|
{
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}).start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user