chore: pre-commit changes [skip ci]

This commit is contained in:
github-actions[bot] 2024-12-15 01:05:30 +00:00
parent 93a7a5f53e
commit ca75e526a9
2 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ public class PermissionBuilder {
}
public boolean hasPermission(HasPermission sender) {
if(sender == null) {
if (sender == null) {
return true;
}
if (Permissions.hasPermissionManager) {

View File

@ -16,9 +16,8 @@ import com.sekwah.advancedportals.core.util.Lang;
import com.sekwah.advancedportals.core.util.PlayerUtils;
import com.sekwah.advancedportals.core.warphandler.Tag;
import com.sekwah.advancedportals.core.warphandler.TriggerType;
import javax.annotation.Nullable;
import java.util.*;
import javax.annotation.Nullable;
@Singleton
public class PortalServices {
@ -178,7 +177,8 @@ public class PortalServices {
}
/**
* @param player if null it is assumed an automation is creating the portal so checks for permissions are not needed
* @param player if null it is assumed an automation is creating the portal
* so checks for permissions are not needed
* @param pos1
* @param pos2
* @param tags