Permalink
Browse files

Fixed update for Mining refactoring

  • Loading branch information...
gmcferrin committed Jan 1, 2013
1 parent ef6d47b commit 11468abc983898d9511cbc7bfa47baaafd3ff437
@@ -36,7 +36,7 @@
import com.gmail.nossr50.runnables.BleedTimer;
import com.gmail.nossr50.skills.acrobatics.AcrobaticsManager;
import com.gmail.nossr50.skills.archery.Archery;
-import com.gmail.nossr50.skills.gathering.BlastMining;
+import com.gmail.nossr50.skills.mining.BlastMining;
import com.gmail.nossr50.skills.taming.TamingManager;
import com.gmail.nossr50.util.Combat;
import com.gmail.nossr50.util.Misc;
@@ -35,9 +35,9 @@
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.party.Party;
import com.gmail.nossr50.runnables.BleedTimer;
-import com.gmail.nossr50.skills.gathering.BlastMining;
import com.gmail.nossr50.skills.gathering.Fishing;
import com.gmail.nossr50.skills.gathering.Herbalism;
+import com.gmail.nossr50.skills.mining.BlastMining;
import com.gmail.nossr50.skills.repair.Salvage;
import com.gmail.nossr50.skills.taming.TamingManager;
import com.gmail.nossr50.util.BlockChecks;
@@ -1,4 +1,4 @@
-package com.gmail.nossr50.skills.gathering;
+package com.gmail.nossr50.skills.mining;
import java.util.ArrayList;
import java.util.HashSet;
@@ -22,7 +22,6 @@
import com.gmail.nossr50.datatypes.PlayerProfile;
import com.gmail.nossr50.datatypes.SkillType;
import com.gmail.nossr50.locale.LocaleLoader;
-import com.gmail.nossr50.skills.mining.Mining;
import com.gmail.nossr50.util.BlockChecks;
import com.gmail.nossr50.util.Misc;
import com.gmail.nossr50.util.Skills;
@@ -1,4 +1,4 @@
-package com.gmail.nossr50.skills.gathering;
+package com.gmail.nossr50.skills.mining;
import java.util.Random;
@@ -214,8 +214,8 @@ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundE
}
if(fileVersionNumber >= 6) {
- spawnedMobs = (ArrayList) in.readObject();
- spawnedPets = (ArrayList) in.readObject();
+ spawnedMobs = (ArrayList<UUID>) in.readObject();
+ spawnedPets = (ArrayList<UUID>) in.readObject();
}
}

0 comments on commit 11468ab

Please sign in to comment.