mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Added scripting check to RespectUserEvent
This commit is contained in:
parent
aaec588900
commit
06afe1442f
@ -10,6 +10,10 @@ public class RespectUserEvent extends MessageHandler {
|
||||
public void handle() throws Exception {
|
||||
int userId = this.packet.readInt();
|
||||
|
||||
if (userId == client.getHabbo().getHabboInfo().getId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.client.getHabbo().getHabboStats().respectPointsToGive > 0) {
|
||||
Habbo target = this.client.getHabbo().getHabboInfo().getCurrentRoom().getHabbo(userId);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user