mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
Fixed issue with hasPermission returning false wrongly
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -76,7 +76,7 @@ public class PermissibleBase implements Permissible {
|
|||||||
if (perm != null) {
|
if (perm != null) {
|
||||||
return perm.getDefault().getValue(isOp());
|
return perm.getDefault().getValue(isOp());
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return Permission.DEFAULT_PERMISSION.getValue(isOp());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user