stonecutter: support 1.21.5

This commit is contained in:
Martin Prokoph
2025-11-19 23:38:32 +01:00
parent 3d7ede7725
commit e4113eac7c

View File

@@ -136,8 +136,8 @@ public class CullLeavesClient /*? fabric {*/ implements ClientModInitializer /*?
MidnightConfig.init(CullLeavesClient.MOD_ID, CullLeavesConfig.class);
}
@EventBusSubscriber(modid = CullLeavesClient.MOD_ID, value = Dist.CLIENT)
public class CullLeavesClientEvents {
@EventBusSubscriber(modid = CullLeavesClient.MOD_ID, value = Dist.CLIENT/^? if <=1.21.5 {^//^, bus = EventBusSubscriber.Bus.MOD ^//^?}^/)
public static class CullLeavesClientEvents {
@SubscribeEvent
public static void addPackFinders(AddPackFindersEvent event) {
if (event.getPackType() == PackType.CLIENT_RESOURCES) {