mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Merge branch 'SenpaiDipper-dev-patch-40745' into 'dev'
Receiving Habbo of Hand Item, should Turn Towards Sender. See merge request morningstar/Arcturus-Community!492
This commit is contained in:
commit
a8168ad403
@ -26,6 +26,8 @@ public class HabboGiveHandItemToHabbo implements Runnable {
|
|||||||
if (itemId > 0) {
|
if (itemId > 0) {
|
||||||
this.from.getRoomUnit().setHandItem(0);
|
this.from.getRoomUnit().setHandItem(0);
|
||||||
this.from.getHabboInfo().getCurrentRoom().sendComposer(new RoomUserHandItemComposer(this.from.getRoomUnit()).compose());
|
this.from.getHabboInfo().getCurrentRoom().sendComposer(new RoomUserHandItemComposer(this.from.getRoomUnit()).compose());
|
||||||
|
this.target.getRoomUnit().lookAtPoint(this.from.getRoomUnit().getCurrentLocation());
|
||||||
|
this.target.getRoomUnit().statusUpdate(true);
|
||||||
this.target.getClient().sendResponse(new RoomUserReceivedHandItemComposer(this.from.getRoomUnit(), itemId));
|
this.target.getClient().sendResponse(new RoomUserReceivedHandItemComposer(this.from.getRoomUnit(), itemId));
|
||||||
this.target.getRoomUnit().setHandItem(itemId);
|
this.target.getRoomUnit().setHandItem(itemId);
|
||||||
this.target.getHabboInfo().getCurrentRoom().sendComposer(new RoomUserHandItemComposer(this.target.getRoomUnit()).compose());
|
this.target.getHabboInfo().getCurrentRoom().sendComposer(new RoomUserHandItemComposer(this.target.getRoomUnit()).compose());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user