mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Fixed Excavation not awarding XP unless you found a treasure.
This commit is contained in:
parent
933a7ffc69
commit
c4a0ae64aa
@ -90,7 +90,7 @@ public class Excavation
|
|||||||
PlayerProfile PP = Users.getProfile(player);
|
PlayerProfile PP = Users.getProfile(player);
|
||||||
int skillLevel = PP.getSkillLevel(SkillType.EXCAVATION);
|
int skillLevel = PP.getSkillLevel(SkillType.EXCAVATION);
|
||||||
ArrayList<ItemStack> is = new ArrayList<ItemStack>();
|
ArrayList<ItemStack> is = new ArrayList<ItemStack>();
|
||||||
int xp = 0;
|
int xp = LoadProperties.mbase;
|
||||||
|
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user