fixed sanity check! im bad!

This commit is contained in:
Rawrington 2021-01-20 14:21:24 +00:00
parent 7836d6775d
commit 419c8322b8

View File

@ -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