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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user