MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / xp

Method xp

src/main/java/com/volmit/adapt/api/xp/XP.java:31–33  ·  view source on GitHub ↗
(Player p, Skill skill, double xp)

Source from the content-addressed store, hash-verified

29
30public class XP {
31 public static void xp(Player p, Skill skill, double xp) {
32 xp(Adapt.instance.getAdaptServer().getPlayer(p), skill, xp);
33 }
34
35 public static void xp(AdaptPlayer p, Skill skill, double xp) {
36 PlayerSkillLine skillLine = p.getSkillLine(skill.getName());

Callers 1

takeSpatialMethod · 0.95

Calls 4

giveXPMethod · 0.95
getPlayerMethod · 0.65
getNameMethod · 0.65
getSkillLineMethod · 0.45

Tested by

no test coverage detected