mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Added scripting check to RoomUserGiveRespectEvent
This commit is contained in:
parent
0a6355996a
commit
647b4af9d9
@ -10,6 +10,10 @@ public class RoomUserGiveRespectEvent 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