Fixed put type bug

This commit is contained in:
Willem Cazander 2022-02-15 19:48:29 +01:00
parent c118055812
commit 3a11823fdf

View file

@ -1,5 +1,6 @@
package love.distributedrebirth.bassboonyd; package love.distributedrebirth.bassboonyd;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.function.Consumer; import java.util.function.Consumer;
@ -16,7 +17,7 @@ public interface BãßBȍőnCoffinOpenʸᴰ<T extends BãßBȍőnCoffinStoreKey
} }
default void PUT_LIST(T key) { default void PUT_LIST(T key) {
PUT_OBJ(key, new HashMap<>()); PUT_OBJ(key, new ArrayList<>());
} }
static <T extends DefaultEnumBaseʸᴰ<?> & BãßBȍőnCoffinStoreʸᴰ<?>> void lockCoffin(T store) { static <T extends DefaultEnumBaseʸᴰ<?> & BãßBȍőnCoffinStoreʸᴰ<?>> void lockCoffin(T store) {