From 6248495b0b2f593352f07f8007a149f03572ccde Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 9 Nov 2018 00:35:00 +0100 Subject: [PATCH] fix serverside flower generator crash --- build.gradle | 2 +- src/main/java/de/ellpeck/naturesaura/Helper.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index c3844a7e..acdd1762 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'maven' -version = "a4" +version = "a5" group = "de.ellpeck.naturesaura" archivesBaseName = "NaturesAura" diff --git a/src/main/java/de/ellpeck/naturesaura/Helper.java b/src/main/java/de/ellpeck/naturesaura/Helper.java index 01bd0d30..891f9fcb 100644 --- a/src/main/java/de/ellpeck/naturesaura/Helper.java +++ b/src/main/java/de/ellpeck/naturesaura/Helper.java @@ -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));