Update for 1.11. Missing assets, unstable.

This commit is contained in:
mezz committed 2016-12-22 16:47:56 -08:00
1 parent 30d7365518
commit 9611ae08ae
1145 files changed
+15561 -18107

No files matched your search

@@ -10,6 +10,8 @@
******************************************************************************/
package forestry.farming.models;
import javax.annotation.Nullable;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.init.Blocks;
@@ -107,7 +109,7 @@ public enum EnumFarmBlockTexture {
return base;
}
public static EnumFarmBlockTexture getFromCompound(NBTTagCompound compound) {
public static EnumFarmBlockTexture getFromCompound(@Nullable NBTTagCompound compound) {
if (compound != null) {
int farmBlockOrdinal = compound.getInteger("FarmBlock");
if (farmBlockOrdinal < EnumFarmBlockTexture.values().length) {