keyremapping: Remove vestigial LOGIN_SCREEN guard clause

Key remaps have been blocked at the KeyManager level as of commit
01bdbe5aab, so a LOGIN_SCREEN game state
check is no longer needed within individual KeyListeners.
This commit is contained in:
Jordan Atwood
2020-07-06 21:56:09 -07:00
parent a3bd5e50fa
commit 349efebd58
2 changed files with 1 additions and 5 deletions

View File

@@ -30,7 +30,6 @@ import com.google.inject.testing.fieldbinder.BoundFieldModule;
import java.awt.event.KeyEvent;
import javax.inject.Inject;
import net.runelite.api.Client;
import net.runelite.api.GameState;
import net.runelite.client.config.ModifierlessKeybind;
import org.junit.Before;
import org.junit.Test;
@@ -64,8 +63,6 @@ public class KeyRemappingListenerTest
public void setUp()
{
Guice.createInjector(BoundFieldModule.of(this)).injectMembers(this);
when(client.getGameState()).thenReturn(GameState.LOGGED_IN);
}
@Test