mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
fix serverside flower generator crash
This commit is contained in:
parent
0d3be2b315
commit
6248495b0b
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,7 @@ buildscript {
|
|||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
apply plugin: 'maven'
|
||||
|
||||
version = "a4"
|
||||
version = "a5"
|
||||
group = "de.ellpeck.naturesaura"
|
||||
archivesBaseName = "NaturesAura"
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ public final class Helper {
|
|||
return !provider.provideChunk(x, z).isEmpty();
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static int blendColors(int c1, int c2, float ratio) {
|
||||
int a = (int) ((c1 >> 24 & 0xFF) * ratio + (c2 >> 24 & 0xFF) * (1 - ratio));
|
||||
int r = (int) ((c1 >> 16 & 0xFF) * ratio + (c2 >> 16 & 0xFF) * (1 - ratio));
|
||||
|
|
Loading…
Reference in a new issue