mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 06:43:05 +00:00
Slightly improve render performance of genetic items (bee, trees, etc)
This commit is contained in:
1 parent
58ab49d66e
commit
3df3d9121e
6 files changed
+10
-12
No files matched your search
@@ -84,7 +84,7 @@ public class BeeGenome extends Genome implements IBeeGenome {
|
||||
public static IAlleleBeeSpecies getSpecies(ItemStack itemStack) {
|
||||
Preconditions.checkArgument(BeeManager.beeRoot.isMember(itemStack), "itemStack must be a bee");
|
||||
|
||||
IAlleleSpecies species = getSpeciesDirectly(BeeManager.beeRoot, itemStack);
|
||||
IAlleleSpecies species = getSpeciesDirectly(itemStack);
|
||||
if (species instanceof IAlleleBeeSpecies) {
|
||||
return (IAlleleBeeSpecies) species;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user