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 9965d32 commit 22929dcCopy full SHA for 22929dc
platform/forge/src/main/java/mcp/mobius/waila/forge/ForgePluginLoader.java
@@ -31,7 +31,7 @@ protected void gatherPlugins() {
31
if (annotation.annotationType().getClassName().equals(WAILA_PLUGIN)) {
32
var id = (String) annotation.annotationData().get("id");
33
var required = (String[]) annotation.annotationData().getOrDefault("required", new String[0]);
34
- var side = switch ((IPluginInfo.Side) annotation.annotationData().get("side")) {
+ var side = switch ((IPluginInfo.Side) annotation.annotationData().getOrDefault("side", IPluginInfo.Side.BOTH)) {
35
case CLIENT -> PluginSide.CLIENT;
36
case SERVER -> PluginSide.DEDICATED_SERVER;
37
case BOTH -> PluginSide.COMMON;
0 commit comments