mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
move pseudorandom number generator
This commit is contained in:
parent
61acf1ec59
commit
751a2d4cff
@ -1,5 +1,6 @@
|
||||
package com.eu.habbo.messages.outgoing.users;
|
||||
|
||||
import com.eu.habbo.Emulator;
|
||||
import com.eu.habbo.habbohotel.messenger.MessengerBuddy;
|
||||
import com.eu.habbo.habbohotel.users.Habbo;
|
||||
import com.eu.habbo.messages.ServerMessage;
|
||||
@ -75,7 +76,7 @@ public class RelationshipStatusInfoComposer extends MessageComposer {
|
||||
|
||||
this.response.appendInt(total);
|
||||
|
||||
Random random = new Random();
|
||||
Random random = Emulator.getRandom();
|
||||
|
||||
if (!this.lovers.isEmpty()) {
|
||||
int loversIndex = random.nextInt(this.lovers.size());
|
||||
|
Loading…
Reference in New Issue
Block a user