Skip to content

Commit f192719

Browse files
committed
Make the fix not just the comment!
1 parent b5c9aa7 commit f192719

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MagicMaster/5.0.3/MagicMaster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10720,7 +10720,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
1072010720

1072110721
var isGM = (playerIsGM(senderId) || state.MagicMaster.debug === senderId);
1072210722

10723-
if (!flags.noWaitMsg && !args[0].toLowerCase().startsWith('nowaitmsg')) sendWait(senderId,1,'magicMaster');
10723+
if (!flags.noWaitMsg && args[0] && !args[0].toLowerCase().startsWith('nowaitmsg')) sendWait(senderId,1,'magicMaster');
1072410724

1072510725
_.each(args, function(e) {
1072610726
setTimeout( doMagicCmd, (1*t++), e, selected, senderId, isGM );

MagicMaster/MagicMaster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10720,7 +10720,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
1072010720

1072110721
var isGM = (playerIsGM(senderId) || state.MagicMaster.debug === senderId);
1072210722

10723-
if (!flags.noWaitMsg && !args[0].toLowerCase().startsWith('nowaitmsg')) sendWait(senderId,1,'magicMaster');
10723+
if (!flags.noWaitMsg && args[0] && !args[0].toLowerCase().startsWith('nowaitmsg')) sendWait(senderId,1,'magicMaster');
1072410724

1072510725
_.each(args, function(e) {
1072610726
setTimeout( doMagicCmd, (1*t++), e, selected, senderId, isGM );

MagicMaster/magicMaster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10720,7 +10720,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
1072010720

1072110721
var isGM = (playerIsGM(senderId) || state.MagicMaster.debug === senderId);
1072210722

10723-
if (!flags.noWaitMsg && !args[0].toLowerCase().startsWith('nowaitmsg')) sendWait(senderId,1,'magicMaster');
10723+
if (!flags.noWaitMsg && args[0] && !args[0].toLowerCase().startsWith('nowaitmsg')) sendWait(senderId,1,'magicMaster');
1072410724

1072510725
_.each(args, function(e) {
1072610726
setTimeout( doMagicCmd, (1*t++), e, selected, senderId, isGM );

0 commit comments

Comments
 (0)