mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Fix alfportal derp
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user