2 Commits

Author SHA1 Message Date
2a7f9cc52e Release v1.0.11 2022-09-16 22:39:46 +02:00
bfc7fb4955 Migrate to Foundryvtt v10 2022-09-16 22:33:54 +02:00
3 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
## 1.0.11
### Compatibility
- Updated for compatibility with Foundry 10
## 1.0.10 ## 1.0.10
### Compatibility ### Compatibility
- Verified compatibility with Foundry 9 - Verified compatibility with Foundry 9

View File

@@ -1,10 +1,12 @@
{ {
"name": "socketlib", "id": "socketlib",
"title": "socketlib", "title": "socketlib",
"description": "A library for easier handling of foundry sockets", "description": "A library for easier handling of foundry sockets",
"version": "1.0.10", "version": "1.0.11",
"minimumCoreVersion" : "0.7.9", "compatibility": {
"compatibleCoreVersion" : "9", "minimum": "10",
"verified": "10"
},
"library": true, "library": true,
"authors": [ "authors": [
{ {
@@ -18,7 +20,7 @@
"src/socketlib.js" "src/socketlib.js"
], ],
"url": "https://github.com/manuelVo/foundryvtt-socketlib", "url": "https://github.com/manuelVo/foundryvtt-socketlib",
"download": "https://github.com/manuelVo/foundryvtt-socketlib/archive/v1.0.10.zip", "download": "https://github.com/manuelVo/foundryvtt-socketlib/archive/v1.0.11.zip",
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-socketlib/master/module.json", "manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-socketlib/master/module.json",
"readme": "https://github.com/manuelVo/foundryvtt-socketlib/blob/master/README.md", "readme": "https://github.com/manuelVo/foundryvtt-socketlib/blob/master/README.md",
"changelog": "https://github.com/manuelVo/foundryvtt-socketlib/blob/master/CHANGELOG.md", "changelog": "https://github.com/manuelVo/foundryvtt-socketlib/blob/master/CHANGELOG.md",

View File

@@ -307,7 +307,7 @@ function isResponsibleGM() {
if (!game.user.isGM) if (!game.user.isGM)
return false; return false;
const connectedGMs = game.users.filter(isActiveGM); const connectedGMs = game.users.filter(isActiveGM);
return !connectedGMs.some(other => other.data._id < game.user.data._id); return !connectedGMs.some(other => other.id < game.user.id);
} }
function isActiveGM(user) { function isActiveGM(user) {