From f24102328220ab0705f1a90dfe98fad54f5955a1 Mon Sep 17 00:00:00 2001 From: Lars Artmann Date: Thu, 22 Nov 2018 22:51:19 +0100 Subject: [PATCH] Bug Fix #146 --- .../velocitypowered/proxy/command/VelocityCommandManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java index 20fe7097a..a7e2e69af 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java @@ -23,7 +23,7 @@ public class VelocityCommandManager implements CommandManager { Preconditions.checkNotNull(command, "executor"); for (int i = 0, length = aliases.length; i < length; i++) { final String alias = aliases[i]; - Preconditions.checkNotNull(aliases, "alias at index %s", i); + Preconditions.checkNotNull(alias, "alias at index %s", i); this.commands.put(alias.toLowerCase(Locale.ENGLISH), command); } }