mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Fix NPE on rendering inside Hive
This commit is contained in:
1 parent
5845a37558
commit
af1c54b738
1 file changed
+2
-1
@@ -199,7 +199,8 @@ public class BlockBeehives extends BlockContainer {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIcon(int i, int j) {
|
||||
if (j == 0 || j > 8) {
|
||||
return null;
|
||||
// placeholder for not causing NPE
|
||||
return icons[3];
|
||||
}
|
||||
|
||||
if (i == 0 || i == 1) {
|
||||
|
||||
Reference in new issue
Block a user