no instance

This commit is contained in:
CocoTheOwner 2021-08-16 21:46:39 +02:00
parent f1376be2e0
commit 376477767b

View File

@ -31,7 +31,6 @@ import org.bukkit.event.player.PlayerCommandPreprocessEvent;
import java.util.Arrays; import java.util.Arrays;
public class CommandLocate extends MortarCommand implements Listener { public class CommandLocate extends MortarCommand implements Listener {
final CommandLocate instance;
@EventHandler @EventHandler
public void onPlayerCommandPreprocess(final PlayerCommandPreprocessEvent event) { public void onPlayerCommandPreprocess(final PlayerCommandPreprocessEvent event) {
@ -52,7 +51,6 @@ public class CommandLocate extends MortarCommand implements Listener {
public CommandLocate() { public CommandLocate() {
super("locate"); super("locate");
requiresPermission(Iris.perm); requiresPermission(Iris.perm);
this.instance = this;
} }
@Override @Override