fixed sanity check! im bad!

dependabot/npm_and_yarn/react-scripts-4.0.3
Rawrington 4 years ago
parent 7836d6775d
commit 419c8322b8
  1. 7
      src/App.js

@ -81,9 +81,10 @@ export default function App() {
const action = parseInt(logParameter3, 16)
if (
!((9 <= action <= 20000) || (100001 <= action <= 100300)) ||
(logTimestamp === lastTimestamp && action === lastAction)
if ( //sanity check the tea sis period wig snapped
((action < 9 || action > 20000) && //is not a combat action
(action < 100001 || action > 100300)) || //and is not a crafting action
(logTimestamp === lastTimestamp && action === lastAction) //or this action is a bug/duplicate
)
return

Loading…
Cancel
Save