Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Forgot FAWE was already added to lookup names
Dieser Commit ist enthalten in:
Ursprung
aaa39d1d32
Commit
1503ba94a4
@ -322,7 +322,8 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
|
|||||||
if (file.length() == 1988) return;
|
if (file.length() == 1988) return;
|
||||||
}
|
}
|
||||||
File dummy = MainUtil.copyFile(MainUtil.getJarFile(), "DummyFawe.src", pluginsFolder, "DummyFawe.jar");
|
File dummy = MainUtil.copyFile(MainUtil.getJarFile(), "DummyFawe.src", pluginsFolder, "DummyFawe.jar");
|
||||||
if (dummy != null && dummy.exists() && Bukkit.getPluginManager().getPlugin("FastAsyncWorldEdit") == null) {
|
File newFile = new File(pluginsFolder, "DummyFawe.jar");
|
||||||
|
if (dummy != null && dummy.exists() && !newFile.exists()) {
|
||||||
try {
|
try {
|
||||||
Bukkit.getPluginManager().loadPlugin(dummy);
|
Bukkit.getPluginManager().loadPlugin(dummy);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren