parent
032b006dd5
commit
62065a8d31
1793 changed files with 64779 additions and 67933 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
import { DS4 } from "../config";
|
||||
import { DS4ActiveEffect } from "../documents/active-effect";
|
||||
import { notifications } from "../ui/notifications";
|
||||
import { enforce, getGame } from "../utils/utils";
|
||||
import { disableOverriddenFields } from "./sheet-helpers";
|
||||
|
||||
|
@ -92,9 +91,6 @@ export class DS4ItemSheet extends ItemSheet {
|
|||
*/
|
||||
onControlEffect(event) {
|
||||
event.preventDefault();
|
||||
if (this.item.isOwned) {
|
||||
return notifications.warn(getGame().i18n.localize("DS4.WarningManageActiveEffectOnOwnedItem"));
|
||||
}
|
||||
const a = event.currentTarget;
|
||||
switch (a.dataset["action"]) {
|
||||
case "create":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue