From f35b62b4df47d791d0dcffe93b395fc6d57dfaf3 Mon Sep 17 00:00:00 2001 From: TheWhiteWolves Date: Mon, 15 Jun 2015 19:40:08 +0100 Subject: [PATCH] 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. --- src/main/java/com/pahimar/ee3/block/BlockAludel.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/pahimar/ee3/block/BlockAludel.java b/src/main/java/com/pahimar/ee3/block/BlockAludel.java index 4f35ce63..244f6a89 100644 --- a/src/main/java/com/pahimar/ee3/block/BlockAludel.java +++ b/src/main/java/com/pahimar/ee3/block/BlockAludel.java @@ -77,6 +77,8 @@ public class BlockAludel extends BlockTileEntityEE case EAST: world.spawnParticle(Particles.FLAME, (double) x + 0.825F, (double) y + 0.33F, (double) z + 0.5F, 0.0D, 0.0D, 0.0D); 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);