Small fix for future versions of minecraft
This commit is contained in:
parent
8a855d6935
commit
398f5ec1bb
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ public class RDedicatedServer {
|
||||||
|
|
||||||
if (MinecraftReflectionVersion.MINOR >= 13) {
|
if (MinecraftReflectionVersion.MINOR >= 13) {
|
||||||
Object propertyManager;
|
Object propertyManager;
|
||||||
if (MinecraftReflectionVersion.MINOR >= 16 && MinecraftReflectionVersion.PATCH >= 2) {
|
if (MinecraftReflectionVersion.isMin(16, 2)) {
|
||||||
propertyManager = RDedicatedServerSettings.newInstance(reflection.invoke(console, "getCustomRegistry"),
|
propertyManager = RDedicatedServerSettings.newInstance(reflection.invoke(console, "getCustomRegistry"),
|
||||||
options);
|
options);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue