mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 12:32:23 +00:00
Add a way to simulate night (#46)
* Add a way to simulate night * Add default value to avoid crashes * Delighted -> Unlighted
This commit is contained in:
1 parent
ca9ebbc0ed
commit
d96669f5f7
4 files changed
+31
-6
No files matched your search
@@ -94,6 +94,16 @@ public class BeeHousingModifier implements IBeeModifier {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSelfUnlighted() {
|
||||
for (IBeeModifier modifier : beeHousing.getBeeModifiers()) {
|
||||
if (modifier.isSelfUnlighted()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSunlightSimulated() {
|
||||
for (IBeeModifier modifier : beeHousing.getBeeModifiers()) {
|
||||
|
||||
Reference in new issue
Block a user