Skip to content

Commit

Permalink
Fix merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi committed Jun 19, 2023
1 parent 7d060da commit 8e6f353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.eternalcode.core.command.argument;

import com.eternalcode.core.notification.Notification;
import com.eternalcode.core.notice.Notice;
import com.eternalcode.core.translation.Translation;
import com.eternalcode.core.translation.TranslationManager;
import com.eternalcode.core.feature.essentials.speed.SpeedType;
Expand All @@ -22,7 +22,7 @@ public SpeedTypeArgument(BukkitViewerProvider viewerProvider, TranslationManager
}

@Override
public Result<SpeedType, Notification> parse(LiteInvocation invocation, String argument, Translation translation) {
public Result<SpeedType, Notice> parse(LiteInvocation invocation, String argument, Translation translation) {
return Option.supplyThrowing(IllegalArgumentException.class, () -> SpeedType.valueOf(argument.toUpperCase()))
.toResult(() -> translation.player().speedTypeNotCorrect());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.eternalcode.annotations.scan.command.DescriptionDocs;
import com.eternalcode.core.command.argument.SpeedArgument;
import com.eternalcode.core.notification.NoticeService;
import com.eternalcode.core.notice.NoticeService;
import com.eternalcode.core.viewer.Viewer;
import dev.rollczi.litecommands.argument.Arg;
import dev.rollczi.litecommands.argument.By;
Expand Down

0 comments on commit 8e6f353

Please sign in to comment.