Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Innokenty committed Aug 18, 2023
1 parent bbea9b6 commit 2e721e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/singularitynet/Client/VereyaModClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class VereyaModClient implements ClientModInitializer, IMalmoModClient, S
public static final String AGENT_UNRESPONSIVE_CODE = "MALMO_AGENT_NOT_RESPONDING";
public static final String VIDEO_UNRESPONSIVE_CODE = "MALMO_VIDEO_NOT_RESPONDING";
private static final Logger LOGGER = LogManager.getLogger(VereyaModClient.class.getName());

public interface MouseEventListener
{
public void onXYChange(double deltaX, double deltaY);
Expand Down Expand Up @@ -232,7 +232,7 @@ public void setInputType(InputType input)

this.inputType = input;
// send chat message
if ((MinecraftClient.getInstance().player != null) && (!wasNotNull))
if ((MinecraftClient.getInstance().player != null))
MinecraftClient.getInstance().player.sendMessage(Text.of("input type set to: " + input.name()), true);
if (input == InputType.HUMAN || input == InputType.HYBRID_MOUSE_KEYBOARD)
{
Expand Down

0 comments on commit 2e721e4

Please sign in to comment.