mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 06:38:56 +00:00
Added open/close sounds to our Barrels
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user