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) const action = parseInt(logParameter3, 16)
if ( if ( //sanity check the tea sis period wig snapped
!((9 <= action <= 20000) || (100001 <= action <= 100300)) || ((action < 9 || action > 20000) && //is not a combat action
(logTimestamp === lastTimestamp && action === lastAction) (action < 100001 || action > 100300)) || //and is not a crafting action
(logTimestamp === lastTimestamp && action === lastAction) //or this action is a bug/duplicate
) )
return return

Loading…
Cancel
Save