Added open/close sounds to our Barrels

This commit is contained in:
Sn0wStorm
2019-08-17 21:00:15 +02:00
parent 67ab8e7de3
commit dbe4d4fd93
3 changed files with 33 additions and 1 deletions
+5 -1
View File
@@ -192,7 +192,7 @@ public class Barrel implements InventoryHolder {
}
}
}
if (event != null && P.p.useCitadel) {
Plugin plugin = P.p.getServer().getPluginManager().getPlugin("Citadel");
if (plugin != null) {
@@ -311,6 +311,10 @@ public class Barrel implements InventoryHolder {
return inventory;
}
public Block getSpigot() {
return spigot;
}
// Returns true if this Block is part of this Barrel
public boolean hasBlock(Block block) {
if (block != null) {