Added locale strings for chatspy and moved some more party messages to action bar

This commit is contained in:
nossr50
2019-01-13 21:27:56 -08:00
parent e817dbe081
commit 4a00758b6b
3 changed files with 6 additions and 3 deletions

View File

@ -7,8 +7,10 @@ import java.util.List;
import java.util.UUID;
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.datatypes.interactions.NotificationType;
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.util.Permissions;
import com.gmail.nossr50.util.player.NotificationManager;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
@ -91,7 +93,7 @@ public final class PartyAPI {
} else {
if(PartyManager.isPartyFull(player, party))
{
player.sendMessage(LocaleLoader.getString("Commands.Party.PartyFull", party.toString()));
NotificationManager.sendPlayerInformation(player, NotificationType.PARTY_MESSAGE, "Commands.Party.PartyFull", party.toString());
return;
}
}