mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fix team wireds
This commit is contained in:
parent
240dedf2e7
commit
166a4cd77b
@ -86,7 +86,7 @@ public class WiredConditionNotInTeam extends InteractionWiredCondition {
|
||||
public boolean saveData(ClientMessage packet) {
|
||||
packet.readInt();
|
||||
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt() - 1];
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ public class WiredConditionTeamMember extends InteractionWiredCondition {
|
||||
public boolean saveData(ClientMessage packet) {
|
||||
packet.readInt();
|
||||
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt() - 1];
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ public class WiredEffectJoinTeam extends InteractionWiredEffect {
|
||||
@Override
|
||||
public boolean saveData(ClientMessage packet, GameClient gameClient) {
|
||||
packet.readInt();
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt() - 1];
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||
int unknownInt = packet.readInt();
|
||||
packet.readString();
|
||||
this.setDelay(packet.readInt());
|
||||
|
Loading…
Reference in New Issue
Block a user