geforkt von Mirrors/FastAsyncWorldEdit
Rename uploadAnonymous to upload
Dieser Commit ist enthalten in:
Ursprung
e7df3177cc
Commit
b2e3d40be2
@ -170,7 +170,7 @@ public class FaweAPI {
|
||||
* @return The download URL or null
|
||||
*/
|
||||
public static URL upload(final Clipboard clipboard, final ClipboardFormat format) {
|
||||
return format.uploadAnonymous(clipboard);
|
||||
return format.upload(clipboard);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -135,7 +135,7 @@ public interface ClipboardFormat {
|
||||
}
|
||||
|
||||
|
||||
default URL uploadAnonymous(final Clipboard clipboard) {
|
||||
default URL upload(final Clipboard clipboard) {
|
||||
return MainUtil.upload(null, null, getPrimaryFileExtension(), new RunnableVal<OutputStream>() {
|
||||
@Override
|
||||
public void run(OutputStream value) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren