mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-23 01:17:55 +01:00
chore: pre-commit changes [skip ci]
This commit is contained in:
parent
93a7a5f53e
commit
ca75e526a9
@ -84,7 +84,7 @@ public class PermissionBuilder {
|
||||
}
|
||||
|
||||
public boolean hasPermission(HasPermission sender) {
|
||||
if(sender == null) {
|
||||
if (sender == null) {
|
||||
return true;
|
||||
}
|
||||
if (Permissions.hasPermissionManager) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user