mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-24 00:51:21 +01:00
chore: pre-commit changes [skip ci]
This commit is contained in:
parent
f44f3fb7d6
commit
3919a834fe
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user