Micle 8a4b4ec5bc ProtectedPlayerManager: State changes.
- Updated updateState method to fit in all current config options as well as the new grace states.
- Added Javadoc to startAfkTimer method.
- Removed old todo comments.
- Removed unnecessary state check in the afk timer task.
- Renamed startGracePeriod method to startGraceTimer. Added delay parameter. Updated Javadoc. Removed old grace period time initialization in the protected player. Rewrote the timer task to now just update the player state after the delay.
- Removed unnecessary check at the end of applyPostEffects to remove player if afk is disabled. This is now done in the updateState method.
2022-06-07 14:35:12 +01:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
2022-05-24 02:16:07 +01:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
Description
Protects joining and afk players on your server from harm!
300 MiB
Languages
Java 100%