running execute store had no effect, fixes #809

This commit is contained in:
gnembon committed 2021-04-14 21:19:10 -03:00
1 parent 1a96737cff
commit 6f13b9068e
1 file changed
+1 -6
@@ -80,12 +80,6 @@ public class FixedCommandSource extends ServerCommandSource
return this;
}
@Override
public ServerCommandSource mergeConsumers(ResultConsumer<ServerCommandSource> consumer, BinaryOperator<ResultConsumer<ServerCommandSource>> binaryOperator)
{
return this.withConsumer(binaryOperator.apply(this.resultConsumer, consumer));
}
@Override
public ServerCommandSource withSilent()
{
@@ -190,6 +184,7 @@ public class FixedCommandSource extends ServerCommandSource
@Override
public void onCommandComplete(CommandContext<ServerCommandSource> context, boolean success, int result)
{
if (this.resultConsumer != null) resultConsumer.onCommandComplete(context, success, result);
}
@Override