Skip to content

Commit c4889d0

Browse files
committed
Fix sending empty messages with macros
1 parent aa7da1b commit c4889d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/java/tools/redstone/redstonetools/macros/actions/CommandAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public void run() {
1515
assert player != null;
1616
if (command.startsWith("/"))
1717
player.networkHandler.sendChatCommand(command.substring(1));
18-
else
18+
else if (!command.isEmpty())
1919
player.networkHandler.sendChatMessage(command);
2020
}
2121

0 commit comments

Comments
 (0)