Fixed Excavation not awarding XP unless you found a treasure.

This commit is contained in:
GJ 2012-02-21 08:19:49 -05:00
parent 933a7ffc69
commit c4a0ae64aa

View File

@ -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)
{ {