From dbfc52418050974bcd8dac91aca965be5ed92613 Mon Sep 17 00:00:00 2001 From: Luck Date: Tue, 13 Mar 2018 15:30:35 +0000 Subject: [PATCH] Fix NPE in Message#asString (fixes #822, #823, #824) --- .../me/lucko/luckperms/common/locale/message/Message.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/locale/message/Message.java b/common/src/main/java/me/lucko/luckperms/common/locale/message/Message.java index 6aa71100..47cf0b40 100644 --- a/common/src/main/java/me/lucko/luckperms/common/locale/message/Message.java +++ b/common/src/main/java/me/lucko/luckperms/common/locale/message/Message.java @@ -459,10 +459,6 @@ public enum Message { return this.message; } - public String asString(Object... objects) { - return asString(null, objects); - } - public String asString(@Nullable LocaleManager localeManager, Object... objects) { String prefix = null; if (localeManager != null) {