Fix syntax error

This commit is contained in:
Alejandro 2020-06-08 14:03:31 +03:00
parent 6bf8bd14db
commit 62ab54a3e3

View File

@ -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;
}