Skip to content

Commit

Permalink
v2.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Geekswordsman committed Jul 7, 2023
1 parent b1d7f4b commit cfa0140
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 21 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# V2.20.2
- Corrected bug where certain systems define types of Actors not meant to be instantiated, breaking DocumentClass reading ( [#176](https://github.com/Moerill/token-mold/issues/176) )

# v2.20.1
- Corrected bug with HP not rolling correctly ( [#173](https://github.com/Moerill/token-mold/issues/173)) )

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion assets/adjectives/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000010
MANIFEST-000016
11 changes: 8 additions & 3 deletions assets/adjectives/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2023/07/05-18:26:53.718751 7f3b04ff9700 Recovering log #8
2023/07/05-18:26:53.876663 7f3b04ff9700 Delete type=3 #6
2023/07/05-18:26:53.876841 7f3b04ff9700 Delete type=0 #8
2023/07/07-10:39:28.764066 7f3b057fa700 Recovering log #14
2023/07/07-10:39:28.943716 7f3b057fa700 Delete type=3 #12
2023/07/07-10:39:28.943851 7f3b057fa700 Delete type=0 #14
2023/07/07-11:13:14.305332 7f3867ebc700 Level-0 table #19: started
2023/07/07-11:13:14.305389 7f3867ebc700 Level-0 table #19: 0 bytes OK
2023/07/07-11:13:14.372904 7f3867ebc700 Delete type=0 #17
2023/07/07-11:13:14.458269 7f3867ebc700 Manual compaction at level-0 from '!tables!BGNM2VPUyFfA5ZMJ' @ 72057594037927935 : 1 .. '!tables.results!nrPtDYJkckptGsmr.zykUiQZzIwvwqBJl' @ 0 : 0; will stop at (end)
2023/07/07-11:13:14.458344 7f3867ebc700 Manual compaction at level-1 from '!tables!BGNM2VPUyFfA5ZMJ' @ 72057594037927935 : 1 .. '!tables.results!nrPtDYJkckptGsmr.zykUiQZzIwvwqBJl' @ 0 : 0; will stop at (end)
18 changes: 10 additions & 8 deletions assets/adjectives/LOG.old
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
2023/07/05-18:16:01.918273 7f3b04ff9700 Recovering log #4
2023/07/05-18:16:02.063980 7f3b04ff9700 Delete type=0 #4
2023/07/05-18:16:02.064098 7f3b04ff9700 Delete type=3 #2
2023/07/05-18:16:10.768288 7f3867ebc700 Level-0 table #9: started
2023/07/05-18:16:10.768344 7f3867ebc700 Level-0 table #9: 0 bytes OK
2023/07/05-18:16:10.851116 7f3867ebc700 Delete type=0 #7
2023/07/05-18:16:10.851281 7f3867ebc700 Manual compaction at level-0 from '!tables!BGNM2VPUyFfA5ZMJ' @ 72057594037927935 : 1 .. '!tables.results!nrPtDYJkckptGsmr.zykUiQZzIwvwqBJl' @ 0 : 0; will stop at (end)
2023/07/05-18:16:10.851364 7f3867ebc700 Manual compaction at level-1 from '!tables!BGNM2VPUyFfA5ZMJ' @ 72057594037927935 : 1 .. '!tables.results!nrPtDYJkckptGsmr.zykUiQZzIwvwqBJl' @ 0 : 0; will stop at (end)
2023/07/05-19:49:55.970652 7f3b057fa700 Recovering log #11
2023/07/05-19:49:55.970693 7f3b057fa700 Recovering log #12
2023/07/05-19:49:56.110665 7f3b057fa700 Delete type=3 #10
2023/07/05-19:49:56.110809 7f3b057fa700 Delete type=0 #11
2023/07/05-19:49:56.110884 7f3b057fa700 Delete type=0 #12
2023/07/05-20:28:06.744704 7f3867ebc700 Level-0 table #15: started
2023/07/05-20:28:06.744784 7f3867ebc700 Level-0 table #15: 0 bytes OK
2023/07/05-20:28:06.800239 7f3867ebc700 Delete type=0 #13
2023/07/05-20:28:06.855737 7f3867ebc700 Manual compaction at level-0 from '!tables!BGNM2VPUyFfA5ZMJ' @ 72057594037927935 : 1 .. '!tables.results!nrPtDYJkckptGsmr.zykUiQZzIwvwqBJl' @ 0 : 0; will stop at (end)
2023/07/05-20:28:06.911287 7f3867ebc700 Manual compaction at level-1 from '!tables!BGNM2VPUyFfA5ZMJ' @ 72057594037927935 : 1 .. '!tables.results!nrPtDYJkckptGsmr.zykUiQZzIwvwqBJl' @ 0 : 0; will stop at (end)
Binary file not shown.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/Moerill/token-mold",
"bugs": "https://github.com/Moerill/token-mold/issues",
"flags": {},
"version": "2.20.1",
"version": "2.20.2",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "11",
"compatibility": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"dependencies": [],
"socket": false,
"manifest": "https://raw.githubusercontent.com/Moerill/token-mold/master/module.json",
"download": "https://github.com/Moerill/token-mold/releases/download/v2.20.1/v2.20.1.zip",
"download": "https://github.com/Moerill/token-mold/releases/download/v2.20.2/v2.20.2.zip",
"protected": false,
"coreTranslation": false
}
18 changes: 11 additions & 7 deletions scripts/token-mold.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,15 +943,19 @@ export default class TokenMold {
else obj[key] = val;
};
for (const type of types) {
const docClass = TokenMold.FOUNDRY_VERSION >= 10 ?
try {
const docClass = TokenMold.FOUNDRY_VERSION >= 10 ?
new CONFIG.Actor.documentClass({ type: type, name: "tmp"}).system :
new CONFIG.Actor.documentClass({ type: type, name: "tmp" }).data.data;
const { bar, value } = CONFIG.Token.documentClass.getTrackedAttributes(docClass);
for (const val of bar) {
addElement(barData.bar, val.join("."), type);
}
for (const val of value) {
addElement(barData.value, val.join("."), type);
const { bar, value } = CONFIG.Token.documentClass.getTrackedAttributes(docClass);
for (const val of bar) {
addElement(barData.bar, val.join("."), type);
}
for (const val of value) {
addElement(barData.value, val.join("."), type);
}
} catch (e) {
TokenMold.log(false, TokenMold.LOG_LEVEL.Debug, "Error navigating document class type!", type, e);
}
}
return barData;
Expand Down

0 comments on commit cfa0140

Please sign in to comment.