Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Jun 25, 2024
1 parent 5d791ae commit 5d844e3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/java/dev/lrxh/neptune/utils/PlayerUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;

import java.util.List;
import java.util.UUID;

@UtilityClass
Expand Down Expand Up @@ -83,11 +82,7 @@ public ItemStack getPlayerHead(UUID playerUUID) {
return utils.getPlayerHead(playerUUID);
}

public void sendMessage(UUID playerUUID, List<Object> content) {
utils.sendMessage(playerUUID, content);
}

public void sendMessage(UUID playerUUID, Object content) {
public void sendMessage(UUID playerUUID, Object... content) {
utils.sendMessage(playerUUID, content);
}

Expand Down

0 comments on commit 5d844e3

Please sign in to comment.