Fix generics

This commit is contained in:
glowredman authored and Martin Robertz committed 2023-12-29 13:26:43 +01:00
1 parent 68ab1b98bd
commit 331c8a8c7b
59 files changed
+129 -156

No files matched your search

@@ -97,7 +97,7 @@ public class LetterProperties {
}
@SuppressWarnings("unchecked")
public static void getSubItems(Item item, CreativeTabs tab, List list) {
public static void getSubItems(Item item, CreativeTabs tab, @SuppressWarnings("rawtypes") List list) {
for (State state : State.values()) {
for (Size size : Size.values()) {
int meta = encodeMeta(state, size);