Update Smart Doors to work with the changed API (between Version 0.8.5 and 0.8.7). Update Smart Doors to work again (fixes #8)
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
"title": "Smart Doors",
|
"title": "Smart Doors",
|
||||||
"description": "Makes doors smarter. Allows doors to synchronize across multiple scenes and sends chat messages when players try to open locked doors.",
|
"description": "Makes doors smarter. Allows doors to synchronize across multiple scenes and sends chat messages when players try to open locked doors.",
|
||||||
"version": "1.2.7",
|
"version": "1.2.7",
|
||||||
"minimumCoreVersion" : "0.8.5",
|
"minimumCoreVersion" : "0.8.7",
|
||||||
"compatibleCoreVersion" : "0.8.5",
|
"compatibleCoreVersion" : "0.8.8",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Manuel Vögele",
|
"name": "Manuel Vögele",
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export function onRederWallConfig(wallConfig, html, data) {
|
|||||||
export async function onWallConfigUpdate(event, formData) {
|
export async function onWallConfigUpdate(event, formData) {
|
||||||
const synchronizeSecretStatus = formData.synchronizeSecretStatus;
|
const synchronizeSecretStatus = formData.synchronizeSecretStatus;
|
||||||
const updateData = {flags: {smartdoors: {synchronizationGroup: formData.synchronizationGroup}}};
|
const updateData = {flags: {smartdoors: {synchronizationGroup: formData.synchronizationGroup}}};
|
||||||
let ids = this.options.editTargets;
|
let ids = this.editTargets;
|
||||||
if (ids.length == 0) {
|
if (ids.length == 0) {
|
||||||
ids = [this.object.id];
|
ids = [this.object.id];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user