geforkt von Mirrors/FastAsyncWorldEdit
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:
Ursprung
b01e1be21b
Commit
7704ec5cd4
@ -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)
|
||||||
|
@ -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() {
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren