From eb927bbf370c078834750881a7988a8a3b7e91e5 Mon Sep 17 00:00:00 2001 From: samo_lego <34912839+samolego@users.noreply.github.com> Date: Thu, 23 Apr 2020 09:54:35 +0200 Subject: [PATCH] 20w17a and Loom update --- build.gradle | 2 +- gradle.properties | 8 ++++---- .../org/samo_lego/simpleauth/utils/UuidConverter.java | 3 --- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 41d3e58..4d12215 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.2.6-SNAPSHOT' + id 'fabric-loom' version '0.2.7-SNAPSHOT' id 'maven-publish' } diff --git a/gradle.properties b/gradle.properties index d68755a..17f9907 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,12 +2,12 @@ org.gradle.jvmargs=-Xmx1G # Fabric properties -minecraft_version=20w16a -yarn_mappings=20w16a+build.1 +minecraft_version=20w17a +yarn_mappings=20w17a+build.2 loader_version=0.8.2+build.194 #Fabric api -fabric_version=0.5.10+build.320-1.16 +fabric_version=0.6.2+build.327-1.16 # Mod Properties mod_version = 1.4.1 @@ -15,4 +15,4 @@ fabric_version=0.5.10+build.320-1.16 archives_base_name = simpleauth # Carpet for debugging -carpet_core_version = 1.3.19+v200415 \ No newline at end of file +carpet_core_version = 1.3.20+v200422 diff --git a/src/main/java/org/samo_lego/simpleauth/utils/UuidConverter.java b/src/main/java/org/samo_lego/simpleauth/utils/UuidConverter.java index e1d1368..fbdb004 100644 --- a/src/main/java/org/samo_lego/simpleauth/utils/UuidConverter.java +++ b/src/main/java/org/samo_lego/simpleauth/utils/UuidConverter.java @@ -2,8 +2,6 @@ package org.samo_lego.simpleauth.utils; import net.minecraft.entity.player.PlayerEntity; -import java.util.UUID; - /** * Converts player uuid, to ensure player with "nAmE" and "NamE" get same uuid * Both players are not allowed to play, since mod mimics Mojang behaviour @@ -26,7 +24,6 @@ public class UuidConverter { * @return converted UUID as string */ public static String convertUuid(PlayerEntity player) { - System.out.println("Playeruuid: " + player.getUuidAsString() + " converted: " + PlayerEntity.getOfflinePlayerUuid(player.getName().asString().toLowerCase()).toString()); return convertUuid(player.getName().asString().toLowerCase()); } }