Fix alfportal derp

This commit is contained in:
Vincent Lee committed 2016-01-07 17:03:28 -06:00
1 parent 064fd20edb
commit e58eb1b345
1 file changed
+1 -1
@@ -34,7 +34,7 @@ public class RenderTileAlfPortal extends TileEntitySpecialRenderer<TileAlfPortal
@Override
public void renderTileEntityAt(TileAlfPortal portal, double d0, double d1, double d2, float f, int digProgress) {
AlfPortalState state;
if (portal.getWorld().getBlockState(portal.getPos()) != ModBlocks.alfPortal) {
if (portal.getWorld().getBlockState(portal.getPos()).getBlock() != ModBlocks.alfPortal) {
state = AlfPortalState.OFF;
} else {
state = portal.getWorld().getBlockState(portal.getPos()).getValue(BotaniaStateProps.ALFPORTAL_STATE);