From 62ab54a3e3004b202ccd8668686516c7b36ddec1 Mon Sep 17 00:00:00 2001 From: Alejandro <25-alejandro@users.noreply.git.krews.org> Date: Mon, 8 Jun 2020 14:03:31 +0300 Subject: [PATCH] Fix syntax error --- .../com/eu/habbo/messages/incoming/trading/TradeStartEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/messages/incoming/trading/TradeStartEvent.java b/src/main/java/com/eu/habbo/messages/incoming/trading/TradeStartEvent.java index a5e4ae13..a776adcd 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/trading/TradeStartEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/trading/TradeStartEvent.java @@ -52,7 +52,7 @@ public class TradeStartEvent extends MessageHandler { return; } - if (!targetUser.getHabboStats().allowTrade() { + if (!targetUser.getHabboStats().allowTrade()) { this.client.sendResponse(new TradeStartFailComposer(TradeStartFailComposer.TARGET_TRADING_NOT_ALLOWED, targetUser.getHabboInfo().getUsername())); return; }