Fix stuck players when other player denies match request (#493)
* Fix stuck players when other player denies match request * Add guild dismiss notification upon match dismiss/deny
This commit is contained in:
@@ -300,7 +300,7 @@ public class MapleMatchCheckerCoordinator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void disposeMatchElement(MapleMatchCheckingElement mmce) {
|
private void disposeMatchElement(MapleMatchCheckingElement mmce) {
|
||||||
Set<Integer> matchPlayers = mmce.getAcceptedMatchPlayers();
|
Set<Integer> matchPlayers = mmce.getMatchPlayers();
|
||||||
while (!poolMatchPlayers(matchPlayers)) {
|
while (!poolMatchPlayers(matchPlayers)) {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ public class MatchCheckerGuildCreation implements MatchCheckerListenerRecipe {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (chr.isLoggedinWorld()) {
|
if (chr.isLoggedinWorld()) {
|
||||||
chr.announce(MaplePacketCreator.genericGuildMessage((byte)0x24));
|
chr.announce(MaplePacketCreator.genericGuildMessage((byte)0x26));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -189,6 +189,7 @@ public class MatchCheckerGuildCreation implements MatchCheckerListenerRecipe {
|
|||||||
|
|
||||||
if (chr.isLoggedinWorld()) {
|
if (chr.isLoggedinWorld()) {
|
||||||
chr.message(msg);
|
chr.message(msg);
|
||||||
|
chr.announce(MaplePacketCreator.genericGuildMessage((byte)0x26));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user