Added world data progress bar
This commit is contained in:
@@ -272,6 +272,10 @@ public class Net{
|
||||
throw new RuntimeException("Received stream chunk without a StreamBegin beforehand!");
|
||||
}
|
||||
builder.add(c.data);
|
||||
|
||||
ui.loadfrag.setProgress(builder.progress());
|
||||
netClient.resetTimeout();
|
||||
|
||||
if(builder.isDone()){
|
||||
streams.remove(builder.id);
|
||||
handleClientReceived(builder.build());
|
||||
|
||||
Reference in New Issue
Block a user