mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Fix ClassCastException
Former-commit-id: 48af4b5958bf01c145523c14a886f4f3ffd9d24c [formerly 6fd02c303c7310acf4df99d8eb8c908f62a08af7] Former-commit-id: 2c4f5424f7f76d0ef44bf211e4d0cee1c5bdf13a
This commit is contained in:
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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user