Don't find username on the main thread. Not friendly with partial names.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user