From 93301a2acbb9a8fcdb893ee947b7a9b67bac0229 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 19 Jul 2024 17:00:05 +0200 Subject: [PATCH] Remove redundant variable in LikeCommand execution --- src/main/java/net/thenextlvl/namemc/command/LikeCommand.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/thenextlvl/namemc/command/LikeCommand.java b/src/main/java/net/thenextlvl/namemc/command/LikeCommand.java index 4b1c0f8..71869d4 100644 --- a/src/main/java/net/thenextlvl/namemc/command/LikeCommand.java +++ b/src/main/java/net/thenextlvl/namemc/command/LikeCommand.java @@ -11,7 +11,6 @@ public class LikeCommand implements SimpleCommand { @Override public void execute(Invocation invocation) { - var source = invocation.source(); if (!(invocation.source() instanceof Player player)) plugin.bundle().sendMessage(invocation.source(), "command.sender"); else new Thread(() -> {