mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01: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