Add default path to the switch statement.

Added in a default case to the switch statement to deal with the UP, DOWN and UNKNOWN forge directions and solve the java warnings about them.
This commit is contained in:
TheWhiteWolves 2015-06-15 19:40:08 +01:00
parent b59fe4f64b
commit f35b62b4df

View file

@ -77,6 +77,8 @@ public class BlockAludel extends BlockTileEntityEE
case EAST: case EAST:
world.spawnParticle(Particles.FLAME, (double) x + 0.825F, (double) y + 0.33F, (double) z + 0.5F, 0.0D, 0.0D, 0.0D); world.spawnParticle(Particles.FLAME, (double) x + 0.825F, (double) y + 0.33F, (double) z + 0.5F, 0.0D, 0.0D, 0.0D);
break; break;
default:
break;
} }
world.spawnParticle(Particles.NORMAL_SMOKE, (double) x + 0.5F, (double) y + 0.7F, (double) z + 0.0F, 0.0D, 0.05D, 0.0D); world.spawnParticle(Particles.NORMAL_SMOKE, (double) x + 0.5F, (double) y + 0.7F, (double) z + 0.0F, 0.0D, 0.05D, 0.0D);