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.
Dieser Commit ist enthalten in:
N0tMyFaultOG 2020-08-01 13:52:54 +02:00
Ursprung b01e1be21b
Commit 7704ec5cd4
2 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -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)

Datei anzeigen

@ -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() {
} }