mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Merge branch 'adjustment-dont-remove-handitem' into 'ms4/dev'
Getting rid of handitem disposal See merge request morningstar/Arcturus-Community!62
This commit is contained in:
commit
cf55c2193d
@ -1208,10 +1208,13 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
foundRightHolder[0] = habbo.getRoomUnit().getRightsLevel() != RoomRightLevels.NONE;
|
foundRightHolder[0] = habbo.getRoomUnit().getRightsLevel() != RoomRightLevels.NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Habbo doesn't remove the handitem anymore, checked on February 25 2023
|
||||||
if (habbo.getRoomUnit().getHandItem() > 0 && millis - habbo.getRoomUnit().getHandItemTimestamp() > (Room.HAND_ITEM_TIME * 1000L)) {
|
if (habbo.getRoomUnit().getHandItem() > 0 && millis - habbo.getRoomUnit().getHandItemTimestamp() > (Room.HAND_ITEM_TIME * 1000L)) {
|
||||||
this.giveHandItem(habbo, 0);
|
this.giveHandItem(habbo, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
if (habbo.getRoomUnit().getEffectId() > 0 && millis / 1000 > habbo.getRoomUnit().getEffectEndTimestamp()) {
|
if (habbo.getRoomUnit().getEffectId() > 0 && millis / 1000 > habbo.getRoomUnit().getEffectEndTimestamp()) {
|
||||||
this.giveEffect(habbo, 0, -1);
|
this.giveEffect(habbo, 0, -1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user