mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-29 21:54:16 +01:00
Made the blacklist for player pickup expire.
This commit is contained in:
parent
8b0c76cedf
commit
b8ba3a2b10
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicHoppers"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "4.0.2"
|
||||
version: "4.0.3"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -111,6 +111,10 @@ public class ModuleSuction implements Module {
|
||||
}
|
||||
|
||||
public static boolean isBlacklisted(UUID uuid) {
|
||||
if (blacklist.contains(uuid))
|
||||
Bukkit.getScheduler().runTaskLater(EpicHoppers.getInstance(),
|
||||
() -> blacklist.remove(uuid), 10L);
|
||||
|
||||
return blacklist.contains(uuid);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user