helper
helper copied to clipboard
A collection of utilities and extended APIs to support the rapid and easy development of Bukkit plugins.
I noticed that the whole check for `nanos == 0` can be avoided if `this.expirationNanos` is initialized as System.nanoTime(). Please correct me if I'm wrong.
Bumps [mongo-java-driver](https://github.com/mongodb/mongo-java-driver) from 3.12.7 to 3.12.8. Release notes Sourced from mongo-java-driver's releases. Java Driver 3.12.8 (February 18, 2021) Release Notes: https://developer.mongodb.com/community/forums/t/mongodb-java-driver-3-12-8-released/16823 Commits eb2ae25 Bump to 3.12.8 ae5b1c0 Fix CVE-2021-20328 32052a1...
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.23 to 8.0.28. Changelog Sourced from mysql-connector-java's changelog. Changelog https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/ Version 8.0.29 Fix for Bug#21978230, COMMENT PARSING NOT PROPER IN PREPSTMT.EXECUTEBATCH(). Fix for Bug#81468 (23312764), MySQL server...
Here's an example code: ```java Events.subscribe(PlayerJoinEvent.class) .name("listenerA") // Optional, and by adding it you can reference it .handler(e -> e.setJoinMessage("A")); Events.subscribe(PlayerJoinEvent.class) .name("listenerB") .mustRunAfter("listenerA") // Still: Optional. This will ensure that...
Implements [Adventure](https://github.com/kyoripowered/adventure), not fully tested yet Closes #92
``` src\main\java\me\lucko\helper\promise\HelperPromise.java:92: error: method addCallback in class Futures cannot be applied to given types; Futures.addCallback(fut, new FutureCallback() { ^ required: ListenableFuture,FutureCallback
When I run it on the server it doesn't return the expected result.    Smaller partition size for clearer demonstration (32 partitions):  EDIT: I'm using the main...
### Description of the Bug 1.Hi Developers im new to coding. i tried to make this video uploading app to my firebase storage but im not that good at coding...
Tested both on `OpenJDK16` and `OpenJDK16-openj9` Also referencing https://github.com/lucko/helper/issues/8.
I've already tested it.