mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2026-01-04 15:41:45 +00:00
Register PAPI (wip)
This commit is contained in:
@@ -29,9 +29,8 @@ public class PAPIHook extends PlaceholderExpansion {
|
||||
@Override
|
||||
public String onRequest(OfflinePlayer player, String params) {
|
||||
final String[] parts = params.split("_");
|
||||
if (parts.length == 0) {
|
||||
return null;
|
||||
}
|
||||
if (parts.length == 0) return null;
|
||||
|
||||
|
||||
CosmeticUser user = CosmeticUsers.getUser(player.getUniqueId());
|
||||
if (user == null) return null;
|
||||
|
||||
Reference in New Issue
Block a user