forked from External/mage
* Mana pool handling - Fixed bug where wrong playerId was used. Fixed that menu check state is the same for all GamePanles of client.
This commit is contained in:
parent
610c7d7462
commit
c13f7a2115
7 changed files with 32 additions and 14 deletions
|
|
@ -221,9 +221,9 @@ public class GameSession extends GameWatcher {
|
|||
game.getPlayer(playerId).setResponseString(data);
|
||||
}
|
||||
|
||||
public void sendPlayerManaType(ManaType manaType, UUID playerId) {
|
||||
public void sendPlayerManaType(ManaType manaType, UUID manaTypePlayerId) {
|
||||
cancelTimeout();
|
||||
game.getPlayer(playerId).setResponseManaType(playerId, manaType);
|
||||
game.getPlayer(playerId).setResponseManaType(manaTypePlayerId, manaType);
|
||||
}
|
||||
|
||||
public void sendPlayerBoolean(Boolean data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue