mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Minor cleanup
No need for this here since .addXp() also does xpCheckSkill() Also, thank you @bm01 for the cleanup! :)
This commit is contained in:
parent
77e048471e
commit
56617a1c1c
@ -5,7 +5,6 @@ import java.util.List;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import com.gmail.nossr50.config.Config;
|
||||
import com.gmail.nossr50.skills.utilities.SkillTools;
|
||||
import com.gmail.nossr50.skills.utilities.SkillType;
|
||||
import com.gmail.nossr50.util.Users;
|
||||
|
||||
@ -46,7 +45,6 @@ public final class ShareHandler {
|
||||
|
||||
for (Player member : nearMembers) {
|
||||
Users.getPlayer(member).addXp(skillType, newExp);
|
||||
SkillTools.xpCheckSkill(skillType, member, Users.getProfile(member));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user