Ignore Files from Mods that are not known on the client
This commit is contained in:
parent
0673a271ef
commit
d473451295
1 changed files with 2 additions and 3 deletions
|
@ -21,7 +21,6 @@ import ru.bclib.gui.screens.SyncFilesScreen;
|
|||
import ru.bclib.gui.screens.WarnBCLibVersionMismatch;
|
||||
import ru.bclib.util.ModUtil;
|
||||
import ru.bclib.util.ModUtil.ModInfo;
|
||||
import ru.bclib.util.Pair;
|
||||
import ru.bclib.util.PathUtil;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -300,8 +299,8 @@ public class HelloClient extends DataHandler.FromServer {
|
|||
String actionString = "";
|
||||
FileContentWrapper contentWrapper = new FileContentWrapper(e.serverContent);
|
||||
if (e.localMatch == null) {
|
||||
actionString = "(new, prepare update)";
|
||||
filesToRequest.add(new AutoSyncID(e.serverHash.modID, e.serverHash.uniqueID));
|
||||
actionString = "(unknown source -> omitting)";
|
||||
//filesToRequest.add(new AutoSyncID(e.serverHash.modID, e.serverHash.uniqueID));
|
||||
}
|
||||
else if (e.localMatch.needTransfer.test(e.localMatch.getFileHash(), e.serverHash, contentWrapper)) {
|
||||
actionString = "(prepare update)";
|
||||
|
|
Loading…
Reference in a new issue