mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 06:28:51 +00:00
fix: allow placing cannons
This commit is contained in:
1 file changed
+4
-4
+4
-4
@@ -51,7 +51,9 @@ public class BlockBreakPlaceListener implements Listener {
|
|||||||
Material.HEAVY_WEIGHTED_PRESSURE_PLATE,
|
Material.HEAVY_WEIGHTED_PRESSURE_PLATE,
|
||||||
Material.TORCH,
|
Material.TORCH,
|
||||||
Material.STONE_BUTTON,
|
Material.STONE_BUTTON,
|
||||||
Material.BLACK_WOOL
|
Material.BLACK_WOOL,
|
||||||
|
// Siege engines
|
||||||
|
Material.CARVED_PUMPKIN
|
||||||
);
|
);
|
||||||
|
|
||||||
private final static Set<Material> PLACE_OWNED = Set.of(
|
private final static Set<Material> PLACE_OWNED = Set.of(
|
||||||
@@ -71,9 +73,7 @@ public class BlockBreakPlaceListener implements Listener {
|
|||||||
Material.ORANGE_BED,
|
Material.ORANGE_BED,
|
||||||
Material.PINK_BED,
|
Material.PINK_BED,
|
||||||
Material.PURPLE_BED,
|
Material.PURPLE_BED,
|
||||||
Material.RED_BED,
|
Material.RED_BED
|
||||||
// Siege engines
|
|
||||||
Material.CARVED_PUMPKIN
|
|
||||||
);
|
);
|
||||||
|
|
||||||
private final static Set<Material> PLACE_GLOBAL = Set.of(
|
private final static Set<Material> PLACE_GLOBAL = Set.of(
|
||||||
|
|||||||
Reference in new issue
Block a user