geforkt von Mirrors/Paper
Fix PluginMeta#getDisplayName (#9038)
* fix plugin versioning * fix properly * fix version command * ngl idk where my logic was behind this
Dieser Commit ist enthalten in:
Ursprung
8e509e0179
Commit
06eb9f83ec
@ -966,7 +966,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ PluginMeta config = this.configuration;
|
||||
+ PluginDescriptionFile pluginDescriptionFile = new PluginDescriptionFile(
|
||||
+ config.getName(),
|
||||
+ config.getDisplayName(),
|
||||
+ config.getName().replace('_', ' '),
|
||||
+ config.getProvidedPlugins(),
|
||||
+ config.getMainClass(),
|
||||
+ "", // Classloader load order api
|
||||
@ -4500,7 +4500,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ .build();
|
||||
+ }
|
||||
+
|
||||
+ pluginConfiguration.displayName = pluginConfiguration.name.replace('_', ' ');
|
||||
+ pluginConfiguration.displayName = pluginConfiguration.name.replace('_', ' ') + " v" + pluginConfiguration.version;
|
||||
+
|
||||
+ return pluginConfiguration;
|
||||
+ }
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren