在主类中声明了一下
public static PlayerPoints playerPoints
然后就playerpoints.getAPI().look(player.getName())进行调用了
结果发现这行是Null的
用了player.getuuid也是一样
去官网看了点击API发现网页没了。。。。
是不是还应该加点什么?
public static PlayerPoints playerPoints
然后就playerpoints.getAPI().look(player.getName())进行调用了
结果发现这行是Null的
用了player.getuuid也是一样
去官网看了点击API发现网页没了。。。。
是不是还应该加点什么?
 本帖最后由 V逍遥 于 2021-5-1 22:07 编辑 
从playerName 更换为 UUID
复制代码
并确保UUID不是Null
从playerName 更换为 UUID
- public int look(UUID playerId)
并确保UUID不是Null