This commit is contained in:
Adrian Siekierka 2019-05-17 16:19:27 +02:00
parent 12a48eade6
commit 57f0d19cc0
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-networking-v0"
version = getSubprojectVersion(project, "0.1.0")
version = getSubprojectVersion(project, "0.1.1")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -125,7 +125,12 @@ public abstract class PacketRegistryImpl implements PacketRegistry {
String s = sb.toString();
if (!s.isEmpty()) {
ids.add(new Identifier(s));
try {
ids.add(new Identifier(s));
} catch (InvalidIdentifierException e) {
LOGGER.warn("Received invalid identifier in " + id + ": " + s + " (" + e.getLocalizedMessage() + ")");
LOGGER.trace(e);
}
}
}