mirror of
https://github.com/2006-Scape/Parabot-Randoms.git
synced 2026-07-03 00:38:07 +00:00
+1
-1
@@ -32,7 +32,7 @@ env:
|
||||
- secure: UG+b1tEgc8xv9x4r//2OAIK1RrYv6n209KTTFMMwcnAa7DI8HaP8nljRa5/VhDhuKHdlVrYH/tI90v7UVBs0GDVNwK5V17Io0fMm3FUGZekSthTCqqno5wAGa9r6a6mMLtSaSmIFeIKi0+0d2ZwplRuhj/dtEYjjBBj+kK8g4nE=
|
||||
- secure: St/fecUDInFBCRriYqgp2F8PU9/SooorgxD9Mrs+b0EsC7AbtSsQXvdIv2Lp6xzdQ0VSXPcLIhULPOYrmBKnGQ/NjXTIZXxnroyQxxnI6xyEWIZwiHRY/bKRJDRbQTxD9NL32szKiDSwnw7pu6llF4D64UqQvziq4Gm6VohU75M=
|
||||
- secure: bD15GVZWowiknbfLavh8CxSh0GsnF5kT4kZ6ggCuUDGyj0mzqf7dNRnchQIKkCG0WRYyTrFN4pEiygeywWsipEeAVv9Xhx3cuUZmzeQaR5KCWabSwJ8gK6jZd1YhcWmM9vrdPHobZr65MP0y/8mu/Fovgky9dY7KDf4G3SebNrM=
|
||||
- RANDOMS_VERSION=0.25.3
|
||||
- RANDOMS_VERSION=0.25.4
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>org.parabot</groupId>
|
||||
<artifactId>randoms</artifactId>
|
||||
<version>0.25.3</version>
|
||||
<version>0.25.4</version>
|
||||
|
||||
<properties>
|
||||
<jdk.version>1.7</jdk.version>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package org.parabot.randoms.soulplay;
|
||||
|
||||
import org.parabot.core.Context;
|
||||
import org.parabot.core.reflect.RefClass;
|
||||
import org.parabot.environment.randoms.Random;
|
||||
import org.parabot.environment.randoms.RandomType;
|
||||
import org.rev317.min.Loader;
|
||||
|
||||
/**
|
||||
* @author SCoutinho
|
||||
@@ -15,7 +15,7 @@ public class RandomUUID implements Random {
|
||||
private long number;
|
||||
|
||||
public RandomUUID() {
|
||||
this.clientClass = (RefClass) Context.getInstance().getClient();
|
||||
this.clientClass = new RefClass(Loader.getClient());
|
||||
this.number = (long) Math.floor(Math.random() * 9000000000L) + 1000000000L;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user