From 2963e4b6e2e6b50dbfecdb06fcd739592bc3b4d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 6 Jun 2013 06:38:21 +0200 Subject: [PATCH] Check correctly for unknown/unset metadata. --- src/main/java/net/pterodactylus/sonitus/data/source/MultiSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sonitus/data/source/MultiSource.java b/src/main/java/net/pterodactylus/sonitus/data/source/MultiSource.java index 0ff1126..565ff3e 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/source/MultiSource.java +++ b/src/main/java/net/pterodactylus/sonitus/data/source/MultiSource.java @@ -136,7 +136,7 @@ public class MultiSource extends AbstractFilter { @Override public Metadata metadata() { - if (super.metadata() == null) { + if (super.metadata() == Metadata.UNKNOWN) { /* no metadata yet, wait for it. */ waitForNewSource(); sourceChanged = false; -- 2.7.4