Index: /applications/editors/josm/plugins/pbf/ivy.xml
===================================================================
--- /applications/editors/josm/plugins/pbf/ivy.xml	(revision 35630)
+++ /applications/editors/josm/plugins/pbf/ivy.xml	(revision 35631)
@@ -2,5 +2,6 @@
   <info organisation="org.openstreetmap.josm.plugins" module="pbf"/>
   <dependencies>
-    <dependency conf="default->default" org="org.openstreetmap.pbf" name="osmpbf" rev="1.4.0"/>
+    <dependency conf="default->default" org="com.google.protobuf" name="protobuf-java" rev="2.5.0"/>
+    <dependency conf="default->default" org="crosby" name="osmpbf" rev="1.3.3"/>
   </dependencies>
 </ivy-module>
Index: /applications/editors/josm/plugins/pbf/ivy_settings.xml
===================================================================
--- /applications/editors/josm/plugins/pbf/ivy_settings.xml	(revision 35630)
+++ /applications/editors/josm/plugins/pbf/ivy_settings.xml	(revision 35631)
@@ -4,4 +4,11 @@
   <resolvers>
     <ibiblio name="josm-nexus" m2compatible="true" root="https://josm.openstreetmap.de/nexus/content/repositories/public/" />
+    <url name="mkgmap">
+      <ivy pattern="http://ivy.mkgmap.org.uk/repo/[organisation]/[module]/[revision]/ivys/ivy.xml"/>
+      <artifact pattern="http://ivy.mkgmap.org.uk/repo/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"/>
+    </url>
   </resolvers>
+  <modules>
+    <module organisation="crosby" name="osmpbf" resolver="mkgmap"/>
+  </modules>
 </ivysettings>
Index: /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java
===================================================================
--- /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java	(revision 35630)
+++ /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java	(revision 35631)
@@ -75,5 +75,4 @@
             if (header.hasBbox()) {
                 HeaderBBox bbox = header.getBbox();
-                if (bbox != null) {
                     double minlat = parseRawDegrees(bbox.getBottom());
                     double minlon = parseRawDegrees(bbox.getLeft());
@@ -86,5 +85,4 @@
                         Logging.error("Invalid Bounds: "+b);
                     }
-                }
             }
         }
