Browse Source

slight reformat for readibility

SaltyMonkey 6 years ago
parent
commit
5790cdda4b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lib/unitFps.js

+ 4 - 1
lib/unitFps.js

@@ -40,7 +40,10 @@ class unitFps {
 		//-------------------------------------
 		// Basic internal functions 
 		//-------------------------------------
-		const isEntityBlocked = (gameId) => !!((blockedPlayers.has(gameId) || blockedNpcs.has(gameId) || blockedSummons.has(gameId) || blockedServants.has(gameId)));
+		// eslint-disable-next-line arrow-body-style
+		const isEntityBlocked = (gameId) => {
+			return (blockedPlayers.has(gameId) || blockedNpcs.has(gameId) || blockedSummons.has(gameId) || blockedServants.has(gameId));
+		};
 
 		const changeShakeState = () => {
 			mod.clientInterface.configureCameraShake(!data.activeMode.blockShakeEffects);