mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Some small fixes
This commit is contained in:
parent
36cd388607
commit
23df8a2df8
@ -27,6 +27,7 @@ import java.util.UUID;
|
|||||||
/**
|
/**
|
||||||
* Represents a single entry in a log
|
* Represents a single entry in a log
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unused", "WeakerAccess"})
|
||||||
public class LogEntry implements Comparable<LogEntry> {
|
public class LogEntry implements Comparable<LogEntry> {
|
||||||
public static LogEntryBuilder builder() {
|
public static LogEntryBuilder builder() {
|
||||||
return new LogEntryBuilder();
|
return new LogEntryBuilder();
|
||||||
|
@ -32,6 +32,7 @@ import java.util.Optional;
|
|||||||
* <p> Use {@link LuckPermsApi#buildNode(String)} to get an instance.
|
* <p> Use {@link LuckPermsApi#buildNode(String)} to get an instance.
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public interface Node extends Map.Entry<String, Boolean> {
|
public interface Node extends Map.Entry<String, Boolean> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,6 +35,7 @@ import java.util.UUID;
|
|||||||
*
|
*
|
||||||
* <p> WARNING: THIS IS ONLY EFFECTIVE FOR ONLINE PLAYERS. USE THE DATASTORE METHODS FOR OFFLINE PLAYERS.
|
* <p> WARNING: THIS IS ONLY EFFECTIVE FOR ONLINE PLAYERS. USE THE DATASTORE METHODS FOR OFFLINE PLAYERS.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public interface UuidCache {
|
public interface UuidCache {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -65,6 +65,10 @@
|
|||||||
<pattern>org.h2</pattern>
|
<pattern>org.h2</pattern>
|
||||||
<shadedPattern>me.lucko.luckperms.lib.h2</shadedPattern>
|
<shadedPattern>me.lucko.luckperms.lib.h2</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.sqlite</pattern>
|
||||||
|
<shadedPattern>me.lucko.luckperms.lib.sqlite</shadedPattern>
|
||||||
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
@ -65,7 +65,6 @@ public interface LuckPermsPlugin {
|
|||||||
*/
|
*/
|
||||||
String getVersion();
|
String getVersion();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the platform type
|
* @return the platform type
|
||||||
*/
|
*/
|
||||||
|
@ -39,7 +39,7 @@ import java.util.stream.Collectors;
|
|||||||
import static me.lucko.luckperms.api.implementation.internal.Utils.checkNode;
|
import static me.lucko.luckperms.api.implementation.internal.Utils.checkNode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides static access to LuckPerms
|
* Implements the LuckPerms API using the plugin instance
|
||||||
*/
|
*/
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class ApiProvider implements LuckPermsApi {
|
public class ApiProvider implements LuckPermsApi {
|
||||||
|
Loading…
Reference in New Issue
Block a user