only allow glowberries to be farmed, not planted and broken
This commit is contained in:
parent
35251efd29
commit
dce8fc9576
|
|
@ -337,9 +337,10 @@ public class Claim
|
|||
Material.NETHER_WART,
|
||||
Material.BEETROOTS,
|
||||
Material.COCOA,
|
||||
Material.GLOW_BERRIES,
|
||||
Material.CAVE_VINES,
|
||||
Material.CAVE_VINES_PLANT);
|
||||
Material.GLOW_BERRIES//,
|
||||
// Material.CAVE_VINES,
|
||||
// Material.CAVE_VINES_PLANT);
|
||||
);
|
||||
|
||||
private static boolean placeableForFarming(Material material)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1314,6 +1314,7 @@ class PlayerEventHandler implements Listener
|
|||
clickedBlockType == Material.ROOTED_DIRT ||
|
||||
clickedBlockType == Material.STONECUTTER ||
|
||||
clickedBlockType == Material.SWEET_BERRY_BUSH ||
|
||||
clickedBlockType == Material.GLOW_BERRIES ||
|
||||
Tag.CANDLES.isTagged(clickedBlockType) ||
|
||||
Tag.CANDLE_CAKES.isTagged(clickedBlockType)
|
||||
)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user