Skip to content

LorePowers callbacks remove existing effects #1

Description

@aelithron

If a LorePowers callback is triggered for a player, it can reset certain things because they don't have the associated powers, even when those things did not originate from powers. An example is disabling creative mode flight for someone if they are hit with a callback and don't have an active BEE_FLIGHT power. My solution is storing a copy of the data file that gets overwritten on each power edit. This has the positive side effect of backing up during power edits, in case a power outage or other server-disrupting event happens, which will save the data storage from being irreparably corrupted.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions