diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-04-10 18:19:46 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-04-10 18:20:47 +0300 |
commit | 66d8824f69b01f0a6e0242c4e9325103549872a2 (patch) | |
tree | 6ead8db7b433caf7f3126f2b6a926d4a88748d58 /src/main/resources/mixins.libgui.json | |
parent | 1c5842d322b3ffa43520ce628c54618dac24ca22 (diff) | |
download | LibGui-66d8824f69b01f0a6e0242c4e9325103549872a2.tar.gz LibGui-66d8824f69b01f0a6e0242c4e9325103549872a2.tar.bz2 LibGui-66d8824f69b01f0a6e0242c4e9325103549872a2.zip |
Add dev-only crash for when screens are opened in Item.use
(Including useOnBlock and useOnEntity.)
The method often causes threading issues and other crashes,
and a better solution is to follow what Minecraft itself does
and use a packet or a screen handler.
Diffstat (limited to 'src/main/resources/mixins.libgui.json')
-rw-r--r-- | src/main/resources/mixins.libgui.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/mixins.libgui.json b/src/main/resources/mixins.libgui.json index 24cd8ec..6698d08 100644 --- a/src/main/resources/mixins.libgui.json +++ b/src/main/resources/mixins.libgui.json @@ -3,8 +3,10 @@ "minVersion": "0.8", "compatibilityLevel": "JAVA_17", "package": "io.github.cottonmc.cotton.gui.impl.mixin", + "plugin": "io.github.cottonmc.cotton.gui.impl.LibGuiMixinPlugin", "client": [ + "client.MinecraftClientMixin", "client.ScreenAccessor" ], |