mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Forgot FAWE was already added to lookup names
This commit is contained in:
parent
aaa39d1d32
commit
1503ba94a4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user