fix spigot issue

This commit is contained in:
alexcrea 2026-08-16 08:44:58 +02:00
parent 142376573c
commit 55c0be20b4
Signed by: alexcrea
GPG key ID: E59DF23EE2A2266C

View file

@ -30,9 +30,12 @@ object DataPackTester {
return emptyList() return emptyList()
} }
return legacyNames return legacyNames
} catch (e: Exception){ } catch (_: Exception){
// Assume cause UnimplementedOperationException on mock server // Assume cause UnimplementedOperationException on mock server
return Collections.emptyList() return Collections.emptyList()
} catch(_: NoSuchMethodError) {
// Idk newer spigot may not have that ?
return Collections.emptyList()
} }
} }
} }