mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +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))
|
if(delay > Emulator.getConfig().getInt("hotel.wired.max_delay", 20))
|
||||||
throw new WiredSaveException("Delay too long");
|
throw new WiredSaveException("Delay too long");
|
||||||
|
|
||||||
this.teamColor = GameTeamColors.values()[packet.readInt()];
|
this.teamColor = GameTeamColors.values()[team];
|
||||||
this.setDelay(delay);
|
this.setDelay(delay);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user