mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
#563 clear up error from missing Breeding Tracker constructor
This commit is contained in:
1 parent
4887926994
commit
d4cd2153ef
4 files changed
+16
-1
No files matched your search
@@ -24,6 +24,11 @@ import forestry.plugins.PluginApiculture;
|
||||
|
||||
public class ApiaristTracker extends BreedingTracker implements IApiaristTracker {
|
||||
|
||||
/** Required for creation from map storage */
|
||||
public ApiaristTracker(String s) {
|
||||
this(s, null);
|
||||
}
|
||||
|
||||
public ApiaristTracker(String s, GameProfile player) {
|
||||
super(s, player);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,11 @@ import forestry.plugins.PluginArboriculture;
|
||||
|
||||
public class ArboristTracker extends BreedingTracker implements IArboristTracker {
|
||||
|
||||
/** Required for creation from map storage */
|
||||
public ArboristTracker(String s) {
|
||||
this(s, null);
|
||||
}
|
||||
|
||||
public ArboristTracker(String s, GameProfile player) {
|
||||
super(s, player);
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ public abstract class BreedingTracker extends WorldSavedData implements IBreedin
|
||||
// TODO: remove legacy handling
|
||||
String species0 = mutation.getAllele0().getUID();
|
||||
String species1 = mutation.getAllele1().getUID();
|
||||
return discoveredMutations.contains(mutationString) || discoveredMutations.contains(species0 + '-' + species1);
|
||||
return discoveredMutations.contains(species0 + '-' + species1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -23,6 +23,11 @@ import forestry.plugins.PluginLepidopterology;
|
||||
|
||||
public class LepidopteristTracker extends BreedingTracker implements ILepidopteristTracker {
|
||||
|
||||
/** Required for creation from map storage */
|
||||
public LepidopteristTracker(String s) {
|
||||
this(s, null);
|
||||
}
|
||||
|
||||
public LepidopteristTracker(String s, GameProfile player) {
|
||||
super(s, player);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user