From a523ef81765b123578ab3ade6e28cce93ba53220 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 23 Apr 2019 23:31:54 +1000 Subject: [PATCH] Use update folder --- .../main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java | 3 +++ 1 file changed, 3 insertions(+) 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 501febdf6..ad763e576 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 @@ -19,6 +19,7 @@ package com.sk89q.worldedit.bukkit; +import com.bekvon.bukkit.residence.commands.message; import com.boydti.fawe.Fawe; import com.boydti.fawe.bukkit.FaweBukkit; import com.boydti.fawe.bukkit.adapter.v1_13_1.Spigot_v1_13_R2; @@ -328,6 +329,8 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter e.printStackTrace(); } getLogger().info("Please restart the server if you have any plugins which depend on FAWE."); + } else if (dummy == null) { + MainUtil.copyFile(MainUtil.getJarFile(), "DummyFawe.src", pluginsFolder, "update" + File.separator + "DummyFawe.jar"); } } }