mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-03 01:00:18 +01:00
Clear timeout & message task on remove.
This commit is contained in:
parent
27642dd82c
commit
de3fb61e60
@ -82,7 +82,11 @@ public class LimboCache {
|
|||||||
*/
|
*/
|
||||||
public void deleteLimboPlayer(String name) {
|
public void deleteLimboPlayer(String name) {
|
||||||
checkNotNull(name);
|
checkNotNull(name);
|
||||||
cache.remove(name.toLowerCase());
|
name = name.toLowerCase();
|
||||||
|
if (cache.containsKey(name)) {
|
||||||
|
cache.get(name).clearTask();
|
||||||
|
cache.remove(name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user