Skip to content

Commit

Permalink
Merge branch 'master' into PM1E
Browse files Browse the repository at this point in the history
# Conflicts:
#	.circleci/config.yml
  • Loading branch information
lt-name committed Jun 3, 2023
2 parents 7be37db + 6f4f930 commit f9f5181
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 39 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ public void onCommandPreprocess(PlayerCommandPreprocessEvent event) {
if (player == null || message == null) {
return;
}
message = message.replace("/", "").split(" ")[0];
String[] split = message.replace("/", "").split(" ");
if (split.length == 0) {
return;
}
message = split[0];
BaseRoom room = this.getListenerRooms().get(player.getLevel().getFolderName());
if (room == null || !room.isPlaying(player)) {
return;
Expand Down

0 comments on commit f9f5181

Please sign in to comment.