Remove unused casts

This commit is contained in:
Draycia 2019-06-10 11:04:01 -07:00
parent dfbf1b95f6
commit 4860e3f8bf
No known key found for this signature in database
GPG Key ID: 22737D719CBB43C8

View File

@ -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<String> setPlaceholders(Player p, List<String> 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<String> setBracketPlaceholders(Player p, List<String> text) {
return setPlaceholders((OfflinePlayer) p, text, BRACKET_PLACEHOLDER_PATTERN);
return setPlaceholders(p, text, BRACKET_PLACEHOLDER_PATTERN);
}
}