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) {
|
public boolean saveData(ClientMessage packet) {
|
||||||
packet.readInt();
|
packet.readInt();
|
||||||
|
|
||||||
this.teamColor = GameTeamColors.values()[packet.readInt() - 1];
|
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ public class WiredConditionTeamMember extends InteractionWiredCondition {
|
|||||||
public boolean saveData(ClientMessage packet) {
|
public boolean saveData(ClientMessage packet) {
|
||||||
packet.readInt();
|
packet.readInt();
|
||||||
|
|
||||||
this.teamColor = GameTeamColors.values()[packet.readInt() - 1];
|
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@ public class WiredEffectJoinTeam extends InteractionWiredEffect {
|
|||||||
@Override
|
@Override
|
||||||
public boolean saveData(ClientMessage packet, GameClient gameClient) {
|
public boolean saveData(ClientMessage packet, GameClient gameClient) {
|
||||||
packet.readInt();
|
packet.readInt();
|
||||||
this.teamColor = GameTeamColors.values()[packet.readInt() - 1];
|
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||||
int unknownInt = packet.readInt();
|
int unknownInt = packet.readInt();
|
||||||
packet.readString();
|
packet.readString();
|
||||||
this.setDelay(packet.readInt());
|
this.setDelay(packet.readInt());
|
||||||
|
Loading…
Reference in New Issue
Block a user