20w17a and Loom update

This commit is contained in:
samo_lego 2020-04-23 09:54:35 +02:00
parent 2d6911484a
commit eb927bbf37
3 changed files with 5 additions and 8 deletions

View File

@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.2.6-SNAPSHOT'
id 'fabric-loom' version '0.2.7-SNAPSHOT'
id 'maven-publish'
}

View File

@ -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
carpet_core_version = 1.3.20+v200422

View File

@ -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());
}
}