From 8e15ce6e215560afc8a3d58ee72b94fda47781fe Mon Sep 17 00:00:00 2001 From: samo_lego <34912839+samolego@users.noreply.github.com> Date: Fri, 5 Jun 2020 08:52:02 +0200 Subject: [PATCH] 1-16-pre1 --- gradle.properties | 8 ++++---- .../org/samo_lego/simpleauth/commands/AuthCommand.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index 5fc6f30..e203644 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,12 +2,12 @@ org.gradle.jvmargs=-Xmx1G # Fabric properties -minecraft_version=20w22a -yarn_mappings=20w22a+build.5 -loader_version=0.8.5+build.199 +minecraft_version=1.16-pre1 +yarn_mappings=1.16-pre1+build.1 +loader_version=0.8.7+build.201 #Fabric api -fabric_version=0.11.2+build.351-1.16 +fabric_version=0.11.4+build.353-1.16 # Mod Properties mod_version = 1.4.3 diff --git a/src/main/java/org/samo_lego/simpleauth/commands/AuthCommand.java b/src/main/java/org/samo_lego/simpleauth/commands/AuthCommand.java index 821db98..f8b8fe4 100644 --- a/src/main/java/org/samo_lego/simpleauth/commands/AuthCommand.java +++ b/src/main/java/org/samo_lego/simpleauth/commands/AuthCommand.java @@ -46,7 +46,7 @@ public class AuthCommand { .then(literal("setSpawn") .executes( ctx -> setSpawn( ctx.getSource(), - ctx.getSource().getEntityOrThrow().getEntityWorld().method_27983().getValue(), + ctx.getSource().getEntityOrThrow().getEntityWorld().getRegistryKey().getValue(), ctx.getSource().getEntityOrThrow().getX(), ctx.getSource().getEntityOrThrow().getY(), ctx.getSource().getEntityOrThrow().getZ()