mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
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:
parent
b01e1be21b
commit
7704ec5cd4
@ -132,8 +132,7 @@ public class WorldEditCommands {
|
||||
}
|
||||
|
||||
@Command(
|
||||
name = "report",
|
||||
aliases = { "debugpaste" },
|
||||
name = "debugpaste",
|
||||
desc = "Writes a report of latest.log, config.yml, message.yml https://athion.net/ISPaster/paste"
|
||||
)
|
||||
@CommandPermissions(value = {"worldedit.report", "worldedit.debugpaste"}, queued = false)
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
package com.sk89q.worldedit.util.paste;
|
||||
|
||||
import com.boydti.fawe.util.IncendoPaster;
|
||||
import com.sk89q.worldedit.command.util.AsyncCommandBuilder;
|
||||
import com.sk89q.worldedit.extension.platform.Actor;
|
||||
import com.sk89q.worldedit.util.formatting.text.TextComponent;
|
||||
@ -31,7 +30,7 @@ import java.util.concurrent.Callable;
|
||||
|
||||
public final class ActorCallbackPaste {
|
||||
|
||||
private static final Paster paster = new IncendoPaster("fastasyncworldedit");
|
||||
private static final Paster paster = new EngineHubPaste();
|
||||
|
||||
private ActorCallbackPaste() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user