We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8e7e6 commit 1d6615dCopy full SHA for 1d6615d
src/index.ts
@@ -119,6 +119,15 @@ EVENTS.EXTRACT_MODS.subscribe(() => {
119
delete window.AnimatedJava
120
})
121
122
+if (!compareVersions('5.0.0', Blockbench.version) /* >= 5.0.0 */) {
123
+ Blockbench.showMessageBox({
124
+ title: 'Animated Java - Incompatible Blockbench Version',
125
+ message: `Animated Java is incompatible with Blockbench versions above 5.0.0. Please downgrade to Blockbench 4.21.6 to continue using this plugin.`,
126
+ buttons: ['OK'],
127
+ })
128
+ throw new Error('Incompatible Blockbench Version')
129
+}
130
+
131
BBPlugin.register(PACKAGE.name, {
132
title: PACKAGE.title,
133
author: PACKAGE.author.name,
0 commit comments