We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe5f0a4 commit 4003429Copy full SHA for 4003429
src/main/java/org/comroid/api/net/Rabbit.java
@@ -175,7 +175,7 @@ public class Route<T> extends Event.Bus<T> {
175
@NonFinal String tag;
176
177
private Route(@Nullable String name, @Nullable String routingKey, ByteConverter<T> converter) {
178
- this.name = (Debug.isDebug() ? "dev." : "") + name;
+ this.name = name == null ? null : (Debug.isDebug() ? "dev." : "") + name;
179
this.routingKey = routingKey;
180
this.converter = converter;
181
0 commit comments