forked from ChomeNS/chomens-bot-java
oopsies i forgor
This commit is contained in:
parent
08137109f4
commit
d4dc8ccdbc
1 changed files with 1 additions and 2 deletions
|
@ -149,8 +149,7 @@ public class CommandHandlerPlugin {
|
||||||
|
|
||||||
if (
|
if (
|
||||||
command.trustLevel == TrustLevel.OWNER &&
|
command.trustLevel == TrustLevel.OWNER &&
|
||||||
!userHash.equals(bot.hashing.getOwnerHash(splitInput[0], context.sender, false)) &&
|
!bot.hashing.isCorrectOwnerHash(userHash, splitInput[0], context.sender)
|
||||||
!userHash.equals(bot.hashing.getOwnerHash(splitInput[0], context.sender, true))
|
|
||||||
) return Component.text("Invalid OwnerHash").color(NamedTextColor.RED);
|
) return Component.text("Invalid OwnerHash").color(NamedTextColor.RED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue