mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Add util method to get Username from UUID, without nulls
This commit is contained in:
1 parent
5f2501693f
commit
a5e816dddc
6 files changed
+27
-6
No files matched your search
@@ -262,7 +262,7 @@ public class TileEntitySecurityDesk extends TileEntityContainerBlock implements
|
||||
if(ownerUUID != null)
|
||||
{
|
||||
data.add(true);
|
||||
data.add(UsernameCache.getLastKnownUsername(ownerUUID));
|
||||
data.add(MekanismUtils.getLastKnownUsername(ownerUUID));
|
||||
}
|
||||
else {
|
||||
data.add(false);
|
||||
|
||||
Reference in new issue
Block a user