PotionEffects for Drunkeness

This commit is contained in:
Sn0wStorm
2013-06-30 23:41:37 +02:00
parent f1db040dbb
commit d00c7888f9
5 changed files with 219 additions and 49 deletions
+6 -3
View File
@@ -304,12 +304,15 @@ public class Barrel {
// when not
// the barrel needs to be formed correctly
public static Block getBrokenBlock(Block spigot) {
spigot = getSpigotOfSign(spigot);
if (isSign(spigot)) {
if (spigot.getChunk().isLoaded()) {
spigot = getSpigotOfSign(spigot);
if (isSign(spigot)) {
return checkSBarrel(spigot);
} else {
} else {
return checkLBarrel(spigot);
}
}
return null;
}
public static Block checkSBarrel(Block spigot) {