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

Method xpSilent

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

Source from the content-addressed store, hash-verified

40 }
41
42 public static void xpSilent(Player p, Skill skill, double xp) {
43 xpSilent(Adapt.instance.getAdaptServer().getPlayer(p), skill, xp);
44 }
45
46 public static void xpSilent(AdaptPlayer p, Skill skill, double xp) {
47 if (p.getSkillLine(skill.getName()) != null) {

Callers

nothing calls this directly

Calls 4

giveXPMethod · 0.80
getPlayerMethod · 0.65
getNameMethod · 0.65
getSkillLineMethod · 0.45

Tested by

no test coverage detected