chore: pre-commit changes [skip ci]

This commit is contained in:
github-actions[bot] 2024-12-15 04:54:47 +00:00
parent f44f3fb7d6
commit 3919a834fe

View File

@ -103,7 +103,8 @@ public class PortalServices {
public PortalActivationResult checkPortalActivation(
PlayerContainer player, PlayerLocation toLoc, TriggerType triggerType) {
if(configRepository.blockSpectatorMode() && player.getGameMode() == GameMode.SPECTATOR) {
if (configRepository.blockSpectatorMode()
&& player.getGameMode() == GameMode.SPECTATOR) {
return PortalActivationResult.NOT_IN_PORTAL;
}