Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-04 18:40:06 +01:00
Fixes #1077
Dieser Commit ist enthalten in:
Ursprung
d85ad6e116
Commit
c2a1fbf7cc
@ -192,8 +192,10 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
|
||||
{
|
||||
PluginDescriptionFile desc = getDescription();
|
||||
if (desc != null) {
|
||||
desc = new PluginDescriptionFile("FastAsyncWorldEdit", desc.getVersion(), desc.getMain());
|
||||
try {
|
||||
Field nameField = PluginDescriptionFile.class.getDeclaredField("name");
|
||||
nameField.setAccessible(true);
|
||||
nameField.set(desc, "FastAsyncWorldEdit");
|
||||
Field descriptionField = JavaPlugin.class.getDeclaredField("description");
|
||||
descriptionField.setAccessible(true);
|
||||
descriptionField.set(this, desc);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren