|
@@ -40,7 +40,10 @@ class unitFps {
|
|
|
//-------------------------------------
|
|
//-------------------------------------
|
|
|
// Basic internal functions
|
|
// 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 = () => {
|
|
const changeShakeState = () => {
|
|
|
mod.clientInterface.configureCameraShake(!data.activeMode.blockShakeEffects);
|
|
mod.clientInterface.configureCameraShake(!data.activeMode.blockShakeEffects);
|