From 4860e3f8bfaa1c9de1c0a3961be91ad2e56a864d Mon Sep 17 00:00:00 2001 From: Draycia Date: Mon, 10 Jun 2019 11:04:01 -0700 Subject: [PATCH] Remove unused casts --- src/main/java/me/clip/placeholderapi/PlaceholderAPI.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index 9250c4a..8ad67ec 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -398,18 +398,18 @@ public class PlaceholderAPI { } public static String setPlaceholders(Player p, String text) { - return setPlaceholders((OfflinePlayer) p, text, PLACEHOLDER_PATTERN); + return setPlaceholders(p, text, PLACEHOLDER_PATTERN); } public static List setPlaceholders(Player p, List text) { - return setPlaceholders((OfflinePlayer) p, text, PLACEHOLDER_PATTERN); + return setPlaceholders(p, text, PLACEHOLDER_PATTERN); } public static String setBracketPlaceholders(Player p, String text) { - return setPlaceholders((OfflinePlayer) p, text, BRACKET_PLACEHOLDER_PATTERN); + return setPlaceholders(p, text, BRACKET_PLACEHOLDER_PATTERN); } public static List setBracketPlaceholders(Player p, List text) { - return setPlaceholders((OfflinePlayer) p, text, BRACKET_PLACEHOLDER_PATTERN); + return setPlaceholders(p, text, BRACKET_PLACEHOLDER_PATTERN); } }