mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/main/java/org/maxgamer/quickshop/util/paste/LuckoPastebinPaster.java
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user