Skip to content

Commit fb84885

Browse files
committed
merge: branch 'hotfix/empty-actions-exception' into develop
2 parents 9570d74 + 5471304 commit fb84885

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org.gradle.caching=true
22
org.gradle.parallel=true
33
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
4-
projectVersion=1.9.2
4+
projectVersion=1.9.3
55
libsPackage=team.devblook.akropolis.libs

src/main/java/me/zetastormy/akropolis/action/ActionManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public void registerAction(Action... actions) {
6666

6767
public void executeActions(Player player, List<String> actions) {
6868
actions.forEach(actionContent -> {
69+
if (actionContent == null || actionContent.equals("")) return;
6970

7071
String actionName = StringUtils.substringBetween(actionContent, "[", "]").toUpperCase();
7172
Action action = actionName.isEmpty() ? null : this.actions.get(actionName);

0 commit comments

Comments
 (0)