From 6c7ccbd6daa78447895c1c1aa1a401abccdc7030 Mon Sep 17 00:00:00 2001 From: Aikar Date: Sun, 19 Aug 2018 10:26:20 -0400 Subject: [PATCH] Register CommandIssuer context --- .idea/compiler.xml | 11 +++++++++++ .../main/java/co/aikar/commands/CommandContexts.java | 1 + 2 files changed, 12 insertions(+) diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 7c12385b..dd2289f0 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -33,4 +33,15 @@ + + + \ No newline at end of file diff --git a/core/src/main/java/co/aikar/commands/CommandContexts.java b/core/src/main/java/co/aikar/commands/CommandContexts.java index 2f655910..55c0e898 100644 --- a/core/src/main/java/co/aikar/commands/CommandContexts.java +++ b/core/src/main/java/co/aikar/commands/CommandContexts.java @@ -45,6 +45,7 @@ public class CommandContexts c.getIssuer()); registerContext(Short.class, (c) -> { try { return parseAndValidateNumber(c, Short.MIN_VALUE, Short.MAX_VALUE).shortValue();