diff --git a/api/pom.xml b/api/pom.xml
index 6472f5a8d..06606ee84 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -7,7 +7,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
parties-api
diff --git a/bukkit/dependency-reduced-pom.xml b/bukkit/dependency-reduced-pom.xml
index 628325a65..abdfb74ba 100644
--- a/bukkit/dependency-reduced-pom.xml
+++ b/bukkit/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
4.0.0
parties-bukkit
@@ -80,7 +80,7 @@
com.alessiodp.parties
parties-common
- 3.2.14
+ 3.2.15
compile
diff --git a/bukkit/pom.xml b/bukkit/pom.xml
index 9a1535620..bae2525e4 100644
--- a/bukkit/pom.xml
+++ b/bukkit/pom.xml
@@ -7,7 +7,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
parties-bukkit
diff --git a/bungeecord/dependency-reduced-pom.xml b/bungeecord/dependency-reduced-pom.xml
index 43429f67d..057ed8995 100644
--- a/bungeecord/dependency-reduced-pom.xml
+++ b/bungeecord/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
4.0.0
parties-bungeecord
@@ -72,7 +72,7 @@
com.alessiodp.parties
parties-common
- 3.2.14
+ 3.2.15
compile
diff --git a/bungeecord/pom.xml b/bungeecord/pom.xml
index 63d40d441..fadb65d5a 100644
--- a/bungeecord/pom.xml
+++ b/bungeecord/pom.xml
@@ -7,7 +7,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
parties-bungeecord
diff --git a/common/dependency-reduced-pom.xml b/common/dependency-reduced-pom.xml
index 04d93c841..5592c4b5a 100644
--- a/common/dependency-reduced-pom.xml
+++ b/common/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
4.0.0
parties-common
@@ -63,7 +63,7 @@
com.alessiodp.parties
parties-api
- 3.2.14
+ 3.2.15
compile
diff --git a/common/pom.xml b/common/pom.xml
index 5fc5fc997..dd4c49546 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -7,7 +7,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
parties-common
diff --git a/common/src/main/java/com/alessiodp/parties/common/addons/external/LuckPermsHandler.java b/common/src/main/java/com/alessiodp/parties/common/addons/external/LuckPermsHandler.java
index 86fae259b..ad00b8c45 100644
--- a/common/src/main/java/com/alessiodp/parties/common/addons/external/LuckPermsHandler.java
+++ b/common/src/main/java/com/alessiodp/parties/common/addons/external/LuckPermsHandler.java
@@ -34,17 +34,17 @@ public void init() {
}
public static String parsePlaceholders(@NotNull String text, @NotNull PartyPlayerImpl player) {
- String ret = text;
+ String ret = null;
if (active) {
Matcher matcher = PLACEHOLDER_PATTERN.matcher(text);
while (matcher.find()) {
String identifier = matcher.group(1);
switch (CommonUtils.toLowerCase(identifier)) {
case "%luckperms_prefix%":
- ret = ret.replace(identifier, hook.getPlayerPrefix(player.getPlayerUUID()));
+ ret = text.replace(identifier, hook.getPlayerPrefix(player.getPlayerUUID()));
break;
case "%luckperms_suffix%":
- ret = ret.replace(identifier, hook.getPlayerSuffix(player.getPlayerUUID()));
+ ret = text.replace(identifier, hook.getPlayerSuffix(player.getPlayerUUID()));
break;
default: // Nothing to do
}
diff --git a/common/src/main/java/com/alessiodp/parties/common/commands/sub/CommandCreate.java b/common/src/main/java/com/alessiodp/parties/common/commands/sub/CommandCreate.java
index 17c99c432..59b3f12e3 100644
--- a/common/src/main/java/com/alessiodp/parties/common/commands/sub/CommandCreate.java
+++ b/common/src/main/java/com/alessiodp/parties/common/commands/sub/CommandCreate.java
@@ -58,7 +58,7 @@ public boolean preRequisites(@NotNull CommandData commandData) {
return handlePreRequisitesFull(
commandData,
false,
- ConfigParties.GENERAL_NAME_DYNAMIC_ENABLE && ConfigParties.GENERAL_NAME_DYNAMIC_ALLOW_IN_CREATE ? 1 : 2,
+ ConfigParties.GENERAL_NAME_DYNAMIC_ENABLE && !ConfigParties.GENERAL_NAME_DYNAMIC_ALLOW_IN_CREATE ? 1 : 2,
2);
}
diff --git a/output/dependency-reduced-pom.xml b/output/dependency-reduced-pom.xml
index de0586577..046fc6753 100644
--- a/output/dependency-reduced-pom.xml
+++ b/output/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
4.0.0
output
diff --git a/output/pom.xml b/output/pom.xml
index 0c630cf61..1bc9cddcb 100644
--- a/output/pom.xml
+++ b/output/pom.xml
@@ -5,7 +5,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
4.0.0
diff --git a/velocity/dependency-reduced-pom.xml b/velocity/dependency-reduced-pom.xml
index 13ed3e6c3..cd8a976df 100644
--- a/velocity/dependency-reduced-pom.xml
+++ b/velocity/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
4.0.0
parties-velocity
@@ -75,7 +75,7 @@
com.alessiodp.parties
parties-common
- 3.2.14
+ 3.2.15
compile
diff --git a/velocity/pom.xml b/velocity/pom.xml
index 3e8de2b29..46ac8efd1 100644
--- a/velocity/pom.xml
+++ b/velocity/pom.xml
@@ -7,7 +7,7 @@
parties
com.alessiodp.parties
- 3.2.14
+ 3.2.15
parties-velocity