mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-02-22 22:49:36 +01:00
fixed jail card trade
This commit is contained in:
parent
ff39402d82
commit
08c1854885
@ -298,7 +298,7 @@ public class ServerGameLogic implements ClientInterpreter {
|
||||
receiver.addJailCard();
|
||||
}
|
||||
|
||||
for (int i = 0; i < tradeHandler.getRequestedAmount(); i++) {
|
||||
for (int i = 0; i < tradeHandler.getRequestedJailCards(); i++) {
|
||||
sender.addJailCard();
|
||||
receiver.removeJailCard();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user