Fix #1442 Let BeeHousings detect biome changes

This commit is contained in:
mezz committed 2016-10-02 15:41:09 -07:00
1 parent 2d1f64c5f6
commit 9419dc82de
3 files changed
+4 -12

No files matched your search

@@ -283,7 +283,7 @@ public class Bee extends IndividualLiving implements IBee {
}
// / Check for the sky, except if in hell
if (biome != null && !BiomeHelper.isBiomeHellish(biome)) {
if (!world.provider.hasNoSky) {
if (!housing.canBlockSeeTheSky() && !canWorkUnderground(beeModifier)) {
errorStates.add(EnumErrorCode.NO_SKY);
}