Only execute if throwable is null
This commit is contained in:
parent
6709001c89
commit
22707d6d2e
@ -34,7 +34,7 @@ public class ReportAbortCommand extends CommandBase<ReportPlugin>
|
||||
|
||||
reportManager.getReportHandling(player).whenComplete(BukkitFuture.complete((reportOptional, throwable) ->
|
||||
{
|
||||
if (throwable != null)
|
||||
if (throwable == null)
|
||||
{
|
||||
if (reportOptional.isPresent())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user