Potential fix for a bunch of stuff that required the use of UUID -> username lookup on servers. This fix adds an extra tag to the NBT of items so that it caches the username of the owner. The UUID is still stored on items, but is not used client-side.

This commit is contained in:
WayofTime 2016-01-13 19:59:28 -05:00
parent 14459ddc69
commit ec7676a69c
6 changed files with 28 additions and 22 deletions

View file

@ -9,6 +9,7 @@ public class Constants
public static class NBT
{
public static final String OWNER_UUID = "ownerUUID";
public static final String OWNER_NAME = "ownerNAME";
public static final String USES = "uses";
public static final String UNUSABLE = "unusable";
public static final String SACRIFICE = "sacrifice";