Fix registry crash induced by AbnormalsCore 3.2.0
This commit is contained in:
parent
550b456396
commit
785242d5b3
1 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,7 @@ import static com.simibubi.create.foundation.block.connected.CTSpriteShifter.CTT
|
|||
import static com.simibubi.create.foundation.block.connected.CTSpriteShifter.CTType.OMNIDIRECTIONAL;
|
||||
import static com.simibubi.create.foundation.block.connected.CTSpriteShifter.CTType.VERTICAL;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.IdentityHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -77,7 +78,11 @@ public class AllSpriteShifts {
|
|||
//
|
||||
|
||||
private static void populateMaps() {
|
||||
WoodType.stream()
|
||||
WoodType[] supportedWoodTypes = new WoodType[]{
|
||||
WoodType.OAK, WoodType.SPRUCE, WoodType.BIRCH, WoodType.ACACIA, WoodType.JUNGLE, WoodType.DARK_OAK,
|
||||
WoodType.CRIMSON, WoodType.WARPED
|
||||
};
|
||||
Arrays.stream(supportedWoodTypes)
|
||||
.forEach(woodType -> WOODEN_WINDOWS.put(woodType, vertical("palettes/" + woodType.getName() + "_window")));
|
||||
|
||||
for (PaletteStoneVariants paletteStoneVariants : PaletteStoneVariants.values()) {
|
||||
|
|
Loading…
Reference in a new issue