0.2.1
EnergonRelics/pipeline/head This commit looks good Details

pull/3/head 0.2.1+1.16.2
TheBrokenRail 3 years ago
parent 8941461874
commit 6382869176

@ -1,5 +1,8 @@
# Changelog
**Beta 0.2.1**
* Fix Solar Panel Crash
**Beta 0.2.0**
* Add New Textures
* Add Russian Translations

@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G
fabric_loader_version = 0.9.0+build.204
# Mod Properties
mod_version = 0.2.0
mod_version = 0.2.1
maven_group = com.thebrokenrail
# Dependencies

@ -26,7 +26,7 @@ public class SolarPanelBlockEntity extends EnergyGeneratorBlockEntity {
for (Direction side : Direction.values()) {
light = Math.max(light, getLight(side));
}
return (int) (((float) light) * MathHelper.cos(Objects.requireNonNull(getWorld()).getSkyAngleRadians(1f)));
return (int) (((float) light) * Math.min(0, MathHelper.cos(Objects.requireNonNull(getWorld()).getSkyAngleRadians(1f))));
}
@Override

Loading…
Cancel
Save