3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 12:00:07 +01:00

Forgot FAWE was already added to lookup names

Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-23 23:44:47 +10:00
Ursprung aaa39d1d32
Commit 1503ba94a4
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -322,7 +322,8 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
if (file.length() == 1988) return;
}
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 {
Bukkit.getPluginManager().loadPlugin(dummy);
} catch (Throwable e) {