Sync with L2jServer HighFive Jul 3rd 2015.
This commit is contained in:
@@ -112,7 +112,9 @@ public final class AnnouncementsTable
|
||||
{
|
||||
if (announce.isValid() && (announce.getType() == type))
|
||||
{
|
||||
player.sendPacket(new CreatureSay(0, ChatType.ANNOUNCEMENT, player.getName(), announce.getContent()));
|
||||
player.sendPacket(new CreatureSay(0, //
|
||||
type == AnnouncementType.CRITICAL ? ChatType.CRITICAL_ANNOUNCE : ChatType.ANNOUNCEMENT, //
|
||||
player.getName(), announce.getContent()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -130,7 +130,7 @@ public class SummonEffectsTable
|
||||
|
||||
public void addPetEffect(int controlObjectId, Skill skill, int effectCurTime)
|
||||
{
|
||||
_petEffects.putIfAbsent(controlObjectId, new ArrayList<>()).add(new SummonEffect(skill, effectCurTime));
|
||||
_petEffects.computeIfAbsent(controlObjectId, k -> new ArrayList<>()).add(new SummonEffect(skill, effectCurTime));
|
||||
}
|
||||
|
||||
public boolean containsPetId(int controlObjectId)
|
||||
|
Reference in New Issue
Block a user