mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-11-28 10:03:09 +00:00
Update to 1.20.4
This commit is contained in:
217 files changed
+2303
-3027
No files matched your search
@@ -93,7 +93,7 @@ internal class SideProvider {
|
||||
private fun fromAnnotationStream(annotations: Stream<out AnnotationMirror>) =
|
||||
annotations.flatMap {
|
||||
when (it.annotationType.toString()) {
|
||||
"net.minecraftforge.api.distmarker.OnlyIn" -> {
|
||||
"net.neoforged.api.distmarker.OnlyIn" -> {
|
||||
val value = it.getValue("value", AnnotationGetters.enum<Side>())!!
|
||||
Stream.of(value)
|
||||
}
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
package cc.tweaked.linter;
|
||||
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.neoforged.api.distmarker.Dist;
|
||||
import net.neoforged.api.distmarker.OnlyIn;
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public class AnnotatedClientClass {
|
||||
|
||||
Reference in new issue
Block a user