comment this out

Dieser Commit ist enthalten in:
Jesse Boyd 2018-08-17 03:28:34 +10:00
Ursprung 20feefcab2
Commit 60699f915d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -189,21 +189,21 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
}
private void rename() {
{
PluginDescriptionFile desc = getDescription();
if (desc != null) {
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);
} catch (Throwable ignore) {
ignore.printStackTrace();
}
}
}
// {
// PluginDescriptionFile desc = getDescription();
// if (desc != null) {
// 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);
// } catch (Throwable ignore) {
// ignore.printStackTrace();
// }
// }
// }
{
File dir = getDataFolder();
if (dir != null) {