Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/main/java/org/maxgamer/quickshop/util/paste/LuckoPastebinPaster.java
This commit is contained in:
Ghost_chu committed 2021-06-13 19:46:24 +08:00
commit 5d047e63b2
2 files changed
+8 -14

No files matched your search

@@ -475,19 +475,12 @@ public class Paste {
public String paste(@NotNull String content) {
PasteInterface paster;
try {
// EngineHub Pastebin
// Pastebin
paster = new PastebinPaster();
return paster.pasteTheText(content);
} catch (Exception ex) {
Util.debugLog(ex.getMessage());
}
try {
// Lucko Pastebin
paster = new LuckoPastebinPaster();
return paster.pasteTheText(content);
} catch (Exception ex) {
Util.debugLog(ex.getMessage());
}
try {
// Ubuntu Pastebin
paster = new UbuntuPaster();
@@ -495,6 +488,13 @@ public class Paste {
} catch (Exception ex) {
Util.debugLog(ex.getMessage());
}
try {
// Lucko Pastebin
paster = new LuckoPastebinPaster();
return paster.pasteTheText(content);
} catch (Exception ex) {
Util.debugLog(ex.getMessage());
}
return null;
}