geforkt von Mirrors/FastAsyncWorldEdit
comment this out
Dieser Commit ist enthalten in:
Ursprung
20feefcab2
Commit
60699f915d
@ -189,21 +189,21 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void rename() {
|
private void rename() {
|
||||||
{
|
// {
|
||||||
PluginDescriptionFile desc = getDescription();
|
// PluginDescriptionFile desc = getDescription();
|
||||||
if (desc != null) {
|
// if (desc != null) {
|
||||||
try {
|
// try {
|
||||||
Field nameField = PluginDescriptionFile.class.getDeclaredField("name");
|
// Field nameField = PluginDescriptionFile.class.getDeclaredField("name");
|
||||||
nameField.setAccessible(true);
|
// nameField.setAccessible(true);
|
||||||
nameField.set(desc, "FastAsyncWorldEdit");
|
// nameField.set(desc, "FastAsyncWorldEdit");
|
||||||
Field descriptionField = JavaPlugin.class.getDeclaredField("description");
|
// Field descriptionField = JavaPlugin.class.getDeclaredField("description");
|
||||||
descriptionField.setAccessible(true);
|
// descriptionField.setAccessible(true);
|
||||||
descriptionField.set(this, desc);
|
// descriptionField.set(this, desc);
|
||||||
} catch (Throwable ignore) {
|
// } catch (Throwable ignore) {
|
||||||
ignore.printStackTrace();
|
// ignore.printStackTrace();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
{
|
{
|
||||||
File dir = getDataFolder();
|
File dir = getDataFolder();
|
||||||
if (dir != null) {
|
if (dir != null) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren