Fixed client not sending input packets when the key is not allowed.
This commit is contained in:
@ -31,7 +31,7 @@ public class OnClientInputEventHandler {
|
||||
private static void handle(int key) {
|
||||
Minecraft minecraft = Minecraft.getInstance();
|
||||
if (Proxy.Client.getPlayerState().equals(ProtectedPlayer.State.ACTIVE) ||
|
||||
LoginProtection.getProxy().getServer() == null || minecraft.screen != null || !checkIfKeyAllowed(key)) {
|
||||
LoginProtection.getProxy().getServer() == null || minecraft.screen != null || checkIfKeyAllowed(key)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user