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:
kolakcc
2019-07-22 19:39:40 +02:00
committed by Ronan Lana
parent 187023c81f
commit 3031ff7ab2
2 changed files with 3 additions and 2 deletions

View File

@@ -300,7 +300,7 @@ public class MapleMatchCheckerCoordinator {
}
private void disposeMatchElement(MapleMatchCheckingElement mmce) {
Set<Integer> matchPlayers = mmce.getAcceptedMatchPlayers();
Set<Integer> matchPlayers = mmce.getMatchPlayers();
while (!poolMatchPlayers(matchPlayers)) {
try {
Thread.sleep(1000);

View File

@@ -159,7 +159,7 @@ public class MatchCheckerGuildCreation implements MatchCheckerListenerRecipe {
}
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()) {
chr.message(msg);
chr.announce(MaplePacketCreator.genericGuildMessage((byte)0x26));
}
}
}