Fix ClassCastException

Former-commit-id: 48af4b5958bf01c145523c14a886f4f3ffd9d24c [formerly 6fd02c303c7310acf4df99d8eb8c908f62a08af7]
Former-commit-id: 2c4f5424f7f76d0ef44bf211e4d0cee1c5bdf13a
This commit is contained in:
Ghost_chu committed 2019-04-25 10:40:19 +08:00
1 parent 20b5a471c7
commit b4bc3dfac2
1 file changed
+1 -1
@@ -552,7 +552,7 @@ public class Util {
if (attached == null)
return null;
return b.getRelative(attached);
} catch (NullPointerException e) {
} catch (NullPointerException|ClassCastException e) {
return null; // /Not sure what causes this.
}
}