fix serverside flower generator crash

This commit is contained in:
Ellpeck 2018-11-09 00:35:00 +01:00
parent 0d3be2b315
commit 6248495b0b
2 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'maven'
version = "a4"
version = "a5"
group = "de.ellpeck.naturesaura"
archivesBaseName = "NaturesAura"

View file

@ -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));