mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-01 05:05:32 +02:00
Resolves #844 Join Team Gives the wrong effect
This commit is contained in:
parent
2f1820ae74
commit
dcec439a44
|
@ -136,7 +136,7 @@ public class WiredEffectJoinTeam extends InteractionWiredEffect {
|
|||
if(delay > Emulator.getConfig().getInt("hotel.wired.max_delay", 20))
|
||||
throw new WiredSaveException("Delay too long");
|
||||
|
||||
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
||||
this.teamColor = GameTeamColors.values()[team];
|
||||
this.setDelay(delay);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user