From 60699f915d232f59b768bb322da1bb47c4104490 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 17 Aug 2018 03:28:34 +1000 Subject: [PATCH] comment this out --- .../worldedit/bukkit/WorldEditPlugin.java | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java index 149c3274c..a27c35f15 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java @@ -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) {