Bump version
This commit is contained in:
parent
84e5ad9f2b
commit
6e88427eef
@ -34,7 +34,7 @@ mod_name=Better Random
|
|||||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=BSD 2 Clause
|
mod_license=BSD 2 Clause
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=1.2.2
|
mod_version=1.3.0
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||||
# This should match the base package used for the mod sources.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
@ -12,6 +12,9 @@ public final class BetterRandom {
|
|||||||
public static final String SAVEDATA_LOCATION = "better_random_sequences";
|
public static final String SAVEDATA_LOCATION = "better_random_sequences";
|
||||||
|
|
||||||
private static RandomSource createWorldRandomC2ME(Supplier<Thread> thread) {
|
private static RandomSource createWorldRandomC2ME(Supplier<Thread> thread) {
|
||||||
|
// TODO: actually implement proper integration
|
||||||
|
// also, this shouldn't be synchronized, per say, in this way, but instead throw an exception when
|
||||||
|
// concurrently accessed (to match C2ME and vanilla behavior)
|
||||||
return new SynchronizedGJRAND64RandomSource();
|
return new SynchronizedGJRAND64RandomSource();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user