mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 00:15:56 +02:00
fix spigot issue
This commit is contained in:
parent
142376573c
commit
55c0be20b4
1 changed files with 4 additions and 1 deletions
|
|
@ -30,9 +30,12 @@ object DataPackTester {
|
|||
return emptyList()
|
||||
}
|
||||
return legacyNames
|
||||
} catch (e: Exception){
|
||||
} catch (_: Exception){
|
||||
// Assume cause UnimplementedOperationException on mock server
|
||||
return Collections.emptyList()
|
||||
} catch(_: NoSuchMethodError) {
|
||||
// Idk newer spigot may not have that ?
|
||||
return Collections.emptyList()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue