mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 23:58:02 -05:00
fix #181
This commit is contained in:
parent
12a48eade6
commit
57f0d19cc0
2 changed files with 7 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -125,7 +125,12 @@ public abstract class PacketRegistryImpl implements PacketRegistry {
|
|||
|
||||
String s = sb.toString();
|
||||
if (!s.isEmpty()) {
|
||||
try {
|
||||
ids.add(new Identifier(s));
|
||||
} catch (InvalidIdentifierException e) {
|
||||
LOGGER.warn("Received invalid identifier in " + id + ": " + s + " (" + e.getLocalizedMessage() + ")");
|
||||
LOGGER.trace(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue