Skip to content

@Overwrite on synchronized method #2034

@Aaur1s

Description

@Aaur1s

Minecraft Development for IntelliJ plugin version

2023.1-1.6.4

IntelliJ version

2023.1.1

Operating System

Windows 11

Target platform

Minecraft Forge, Mixins

Description of the bug

When trying to apply @overwrite to synchronized method Intelij IDEA says:
Method must be 'open'
Method must be 'transitive'
Code compiles normally, but @overwrite function shown as an error in IDE.

target method example:
image
mixin method example:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions