Don't find username on the main thread. Not friendly with partial names.

This commit is contained in:
Jikoo
2014-12-01 16:11:20 -05:00
parent 2a66b2e81b
commit 21cd1926ae
6 changed files with 127 additions and 52 deletions

View File

@@ -16,8 +16,11 @@
package com.lishid.openinv.internal;
import java.util.UUID;
import org.bukkit.entity.Player;
public interface IPlayerDataManager {
public Player loadPlayer(String name);
public Player loadPlayer(UUID uuid);
}