diff --git a/src/notifier/PokeNotificationSender.java b/src/notifier/PokeNotificationSender.java index 2cc014a..03b5d06 100644 --- a/src/notifier/PokeNotificationSender.java +++ b/src/notifier/PokeNotificationSender.java @@ -75,7 +75,9 @@ public void run() { } } else { for (GeofenceIdentifier geofenceIdentifier : pokeSpawn.getGeofenceIds()) { - for (PokeChannel channel : config.getPokeChannels(geofenceIdentifier)) { + ArrayList channels = config.getPokeChannels(geofenceIdentifier); + if(channels == null) continue; + for (PokeChannel channel : channels) { postToChannel(channel, pokeSpawn); } }