13
0

Merge pull request 'Fixing of SchemName' (#83) from schem-download into master

Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Lixfel 2021-01-09 20:15:12 +01:00
Commit 7c9b6404e1

Datei anzeigen

@ -97,7 +97,7 @@ public class ExternalUpDownload {
name.append(".");
name.append(replaceString(schemName[i]));
}
String schematicName = name.substring(0, 60);
String schematicName = name.substring(0, Math.min(60, name.length()));
Schematic testSchem = Schematic.getSchemFromDB(schematicName, player.getUniqueId());
List<Byte> schemData = new ArrayList<>();
while (zipInputStream.available() == 1) {