Skip to content

Commit

Permalink
[fix] Incompatible variable type with BungeeCord.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCubee committed Apr 13, 2021
1 parent 260984a commit ccba382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fr/mrcubee/langlib/Lang.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static String getPlayerLang(Object player) {
* @return The formatted message.
* @see String#format(String, Object...)
*/
public static String getMessage(Player player, String messageId, String rescueMessage, boolean color, Object... objects) {
public static String getMessage(Object player, String messageId, String rescueMessage, boolean color, Object... objects) {
return getMessageFromId(PluginFinder.INSTANCE.findPlugin(), getPlayerLang(player), messageId, rescueMessage, color, objects);
}

Expand Down

0 comments on commit ccba382

Please sign in to comment.