もぺもぺ 发表于 2021-7-22 20:42
PlayerPoints points = (PlayerPoints)Bukkit.getPluginManager().getPlugin("PlayerPoints");
以及 get ...
这个我加上了的
@阳菜 发表于 2021-7-22 20:43
这个我加上了的
import org.black_ixx.playerpoints.PlayerPoints;
import org.black_ixx.playerpoints.PlayerPointsAPI;
PlayerPointsAPI api = PlayerPoints.getInstance().getAPI();
CompletableFuture<Integer> r = api.lookAsync(e.getPlayer().getUniqueId());
r.get();