summary refs log tree commit diff homepage
path: root/src/MinecraftHandler.ts
diff options
context:
space:
mode:
authordestruc7i0n <dscdsouza@outlook.com>2020-04-29 10:00:30 -0400
committerdestruc7i0n <dscdsouza@outlook.com>2020-04-29 10:00:30 -0400
commite288b74fabf5a6d69ebdf32182fadd35b2ace1b3 (patch)
tree072b3ab2a4770fbaee5a16cf4bae6b081e1bf21a /src/MinecraftHandler.ts
parentUpdate README.md (diff)
downloadshulker-e288b74fabf5a6d69ebdf32182fadd35b2ace1b3.tar.gz
shulker-e288b74fabf5a6d69ebdf32182fadd35b2ace1b3.zip
add the ability to handle webhook messages
Diffstat (limited to '')
-rw-r--r--src/MinecraftHandler.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MinecraftHandler.ts b/src/MinecraftHandler.ts
index 0e4e5d7..96b525a 100644
--- a/src/MinecraftHandler.ts
+++ b/src/MinecraftHandler.ts
@@ -158,8 +158,7 @@ class MinecraftHandler {
 
         console.log('[INFO] Please enter the following command on your server running the Minecraft server:')
         if (defaultPath) {
-          console.log('       Replace "PATH_TO_MINECRAFT_SERVER_INSTALL" with the path to your Minecraft server install')
-          if (defaultUrl) console.log('       and "YOUR_URL" with the URL/IP of the server running Shulker!')
+          console.log('       Replace "PATH_TO_MINECRAFT_SERVER_INSTALL" with the path to your Minecraft server install' + (defaultUrl ? ' and "YOUR_URL" with the URL/IP of the server running Shulker.' : ''))
         } else {
           if (defaultUrl) console.log('       Replace "YOUR_URL" with the URL/IP of the server running Shulker')
         }