9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-26 01:59:20 +00:00

Suppress unchecked cast warning

This commit is contained in:
William
2022-01-06 00:38:10 +00:00
parent c9952a9863
commit bcc83c3818

View File

@@ -105,6 +105,7 @@ public class AdvancementUtils {
}
}
@SuppressWarnings("unchecked") // Suppress unchecked cast warnings here
public static Object newAdvancementProgress(final Map<String, Object> criteria) {
try {
Object nativeAdvancementProgress = ADVANCEMENT_PROGRESS.getDeclaredConstructor().newInstance();