Fix paste service interacting with EH's paste service

We need to differ here between our own and EH or we break pastes from WorldGuard or any other EH software.
This commit is contained in:
N0tMyFaultOG 2020-08-01 13:52:54 +02:00
parent b01e1be21b
commit 7704ec5cd4
2 changed files with 2 additions and 4 deletions

View File

@ -132,8 +132,7 @@ public class WorldEditCommands {
} }
@Command( @Command(
name = "report", name = "debugpaste",
aliases = { "debugpaste" },
desc = "Writes a report of latest.log, config.yml, message.yml https://athion.net/ISPaster/paste" desc = "Writes a report of latest.log, config.yml, message.yml https://athion.net/ISPaster/paste"
) )
@CommandPermissions(value = {"worldedit.report", "worldedit.debugpaste"}, queued = false) @CommandPermissions(value = {"worldedit.report", "worldedit.debugpaste"}, queued = false)

View File

@ -19,7 +19,6 @@
package com.sk89q.worldedit.util.paste; package com.sk89q.worldedit.util.paste;
import com.boydti.fawe.util.IncendoPaster;
import com.sk89q.worldedit.command.util.AsyncCommandBuilder; import com.sk89q.worldedit.command.util.AsyncCommandBuilder;
import com.sk89q.worldedit.extension.platform.Actor; import com.sk89q.worldedit.extension.platform.Actor;
import com.sk89q.worldedit.util.formatting.text.TextComponent; import com.sk89q.worldedit.util.formatting.text.TextComponent;
@ -31,7 +30,7 @@ import java.util.concurrent.Callable;
public final class ActorCallbackPaste { public final class ActorCallbackPaste {
private static final Paster paster = new IncendoPaster("fastasyncworldedit"); private static final Paster paster = new EngineHubPaste();
private ActorCallbackPaste() { private ActorCallbackPaste() {
} }