hsyyid / EssentialCmds

EssentialCmds adds useful commands to Minecraft
https://bit.ly/2HPQ9tR
MIT License
31 stars 21 forks source link

Tempmutes turn into Perma mutes #145

Open ghost opened 8 years ago

ghost commented 8 years ago

A player is muted for a temporary amount of time, but after server restarts, that player is perm muted over and over again.

Aaron1011 commented 8 years ago

The root of the issue is here. When a temp mute is created, the duration information is only used to create a delayed task - it's not stored anywhere. When the server restarts, no delayed tasks are started for the mutes which were persisted in the database.

hsyyid commented 8 years ago

@Aaron1011 Thanks, I'll fix this soon