GuildPQ fix
Fixed some issues with GPQ startup crashing the leader when doing the map transition.
This commit is contained in:
@@ -421,6 +421,12 @@ public class EventInstanceManager {
|
||||
} catch (ScriptException | NoSuchMethodException ex) {}
|
||||
}
|
||||
|
||||
public void afterChangedMap(MapleCharacter chr, int mapId) { // optional
|
||||
try {
|
||||
em.getIv().invokeFunction("afterChangedMap", this, chr, mapId);
|
||||
} catch (ScriptException | NoSuchMethodException ex) {}
|
||||
}
|
||||
|
||||
public void changedLeader(MapleCharacter ldr) {
|
||||
try {
|
||||
em.getIv().invokeFunction("changedLeader", this, ldr);
|
||||
|
||||
@@ -526,7 +526,7 @@ public class EventManager {
|
||||
+ " and HAS JUST STARTED THE STRATEGY PHASE. After 3 minutes, no more guild members will be allowed to join the effort."
|
||||
+ " Check out Shuang at the excavation site in Perion for more info.";
|
||||
|
||||
mg.dropMessage(0, callout);
|
||||
mg.dropMessage(6, callout);
|
||||
}
|
||||
|
||||
private void exportMovedQueueToGuild(Integer guildId, int place) {
|
||||
@@ -534,7 +534,7 @@ public class EventManager {
|
||||
String callout = "[Guild Quest] Your guild has been registered to attend to the Sharenian Guild Quest at channel " + this.getChannelServer().getId()
|
||||
+ " and is currently on the " + ordinal(place) + " place on the waiting queue.";
|
||||
|
||||
mg.dropMessage(0, callout);
|
||||
mg.dropMessage(6, callout);
|
||||
}
|
||||
|
||||
private List<Integer> getNextGuildQueue() {
|
||||
|
||||
Reference in New Issue
Block a user