mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Stop crying
This commit is contained in:
parent
a372ca34e6
commit
85640f88b2
@ -194,12 +194,12 @@ public class mcPlayerListener implements Listener
|
|||||||
|
|
||||||
//Schedule PlayerProfile removal 2 minutes after quitting
|
//Schedule PlayerProfile removal 2 minutes after quitting
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin,
|
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin,
|
||||||
new Runnable() {
|
new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
//Remove PlayerProfile
|
//Remove PlayerProfile
|
||||||
Users.removeUser(event.getPlayer());
|
Users.removeUser(event.getPlayer());
|
||||||
}
|
}
|
||||||
}, 2400);
|
}, 2400);
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||||
|
Loading…
Reference in New Issue
Block a user