mirror of
https://github.com/TeamMidnightDust/CullLeaves.git
synced 2025-12-16 06:15:08 +01:00
stonecutter: support 1.21.5
This commit is contained in:
@@ -136,8 +136,8 @@ public class CullLeavesClient /*? fabric {*/ implements ClientModInitializer /*?
|
|||||||
MidnightConfig.init(CullLeavesClient.MOD_ID, CullLeavesConfig.class);
|
MidnightConfig.init(CullLeavesClient.MOD_ID, CullLeavesConfig.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventBusSubscriber(modid = CullLeavesClient.MOD_ID, value = Dist.CLIENT)
|
@EventBusSubscriber(modid = CullLeavesClient.MOD_ID, value = Dist.CLIENT/^? if <=1.21.5 {^//^, bus = EventBusSubscriber.Bus.MOD ^//^?}^/)
|
||||||
public class CullLeavesClientEvents {
|
public static class CullLeavesClientEvents {
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void addPackFinders(AddPackFindersEvent event) {
|
public static void addPackFinders(AddPackFindersEvent event) {
|
||||||
if (event.getPackType() == PackType.CLIENT_RESOURCES) {
|
if (event.getPackType() == PackType.CLIENT_RESOURCES) {
|
||||||
|
|||||||
Reference in New Issue
Block a user