From b2b94cea41407d7bb48f18623eed401a37e266fd Mon Sep 17 00:00:00 2001 From: ProSavage Date: Fri, 2 Nov 2018 14:08:40 -0500 Subject: [PATCH] Fixed issue with faction names not being able to have the letter 'P' in it. --- src/main/java/com/massivecraft/factions/util/MiscUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/util/MiscUtil.java b/src/main/java/com/massivecraft/factions/util/MiscUtil.java index c0ccbdb8..50f45c23 100644 --- a/src/main/java/com/massivecraft/factions/util/MiscUtil.java +++ b/src/main/java/com/massivecraft/factions/util/MiscUtil.java @@ -19,7 +19,8 @@ import java.util.logging.Level; public class MiscUtil { /// TODO create tag whitelist!! - public static HashSet substanceChars = new HashSet<>(Arrays.asList("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "SavageFactions", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "plugin", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z")); + public static HashSet substanceChars = + new HashSet<>(Arrays.asList("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "plugin", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z")); public static EntityType creatureTypeFromEntity(Entity entity) { if (!(entity instanceof Creature)) {