Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Revert "Revert 'revert ivy change'"
Dieser Commit ist enthalten in:
Ursprung
edb626a961
Commit
aa4c443358
@ -16,7 +16,7 @@ fun Project.applyCommonConfiguration() {
|
|||||||
maven { url = uri("https://ci.athion.net/job/FAWE-Piston/ws/") }
|
maven { url = uri("https://ci.athion.net/job/FAWE-Piston/ws/") }
|
||||||
ivy { url = uri("https://ci.athion.net/job")
|
ivy { url = uri("https://ci.athion.net/job")
|
||||||
patternLayout {
|
patternLayout {
|
||||||
artifact("/[organisation]/[module]/artifact/[revision].[ext]")
|
artifact("/[organisation]/[revision]/artifact/[module].[ext]")
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
@ -42,7 +42,7 @@ public class CFICommand extends CommandProcessor<Object, Object> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int process(InjectedValueAccess context, List<String> args, int result) {
|
public Object process(InjectedValueAccess context, List<String> args, Object result) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,13 +67,13 @@ public abstract class CommandProcessor<I, O> implements CommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final int execute(InjectedValueAccess context, List<String> args) {
|
public final Object execute(InjectedValueAccess context, List<String> args) {
|
||||||
args = preprocess(context, args);
|
args = preprocess(context, args);
|
||||||
if (args != null) {
|
if (args != null) {
|
||||||
int result = parent.execute(context, args);
|
Object result = parent.execute(context, args);
|
||||||
return process(context, args, result); // TODO NOT IMPLEMENTED (recompile piston)
|
return process(context, args, result); // TODO NOT IMPLEMENTED (recompile piston)
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,5 +89,5 @@ public abstract class CommandProcessor<I, O> implements CommandManager {
|
|||||||
|
|
||||||
public abstract List<String> preprocess(InjectedValueAccess context, List<String> args);
|
public abstract List<String> preprocess(InjectedValueAccess context, List<String> args);
|
||||||
|
|
||||||
public abstract int process(InjectedValueAccess context, List<String> args, int result);
|
public abstract Object process(InjectedValueAccess context, List<String> args, Object result);
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ public class DelegateCommandManager implements CommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int execute(InjectedValueAccess context, List<String> args) {
|
public Object execute(InjectedValueAccess context, List<String> args) {
|
||||||
return parent.execute(context, args);
|
return parent.execute(context, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren