mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 08:29:35 +00:00
1.5.7
This commit is contained in:
@@ -31,7 +31,7 @@ public class BreakBlock implements Listener {
|
||||
Player player =event.getPlayer();
|
||||
Location location = event.getBlock().getLocation();
|
||||
for (Integration integration : ConfigReader.Config.integration){
|
||||
if(!integration.canPlace(location, player)) return;
|
||||
if(!integration.canBreak(location, player)) return;
|
||||
}
|
||||
if(player.getInventory().getItemInMainHand().containsEnchantment(Enchantment.SILK_TOUCH) || player.getInventory().getItemInMainHand().getType() == Material.SHEARS){
|
||||
event.setCancelled(true);
|
||||
|
||||
@@ -45,10 +45,10 @@ crops:
|
||||
3: customcrops:cabbage_golden_star
|
||||
gigantic: customcrops:gigantic_cabbage
|
||||
gigantic-chance: 0.01
|
||||
requirements:
|
||||
season:
|
||||
- spring
|
||||
|
||||
|
||||
grape:
|
||||
amount: 2~4
|
||||
quality:
|
||||
@@ -57,7 +57,6 @@ crops:
|
||||
3: customcrops:grape_golden_star
|
||||
#空手收获后返回第几个生长状态
|
||||
return: customcrops:grape_stage_4
|
||||
requirements:
|
||||
season:
|
||||
- autumn
|
||||
|
||||
@@ -67,7 +66,6 @@ crops:
|
||||
1: customcrops:corn
|
||||
2: customcrops:corn_silver_star
|
||||
3: customcrops:corn_golden_star
|
||||
requirements:
|
||||
season:
|
||||
- autumn
|
||||
- summer
|
||||
@@ -1,5 +1,5 @@
|
||||
name: CustomCrops
|
||||
version: '1.5.6'
|
||||
version: '1.5.7'
|
||||
main: net.momirealms.customcrops.CustomCrops
|
||||
api-version: 1.16
|
||||
depend:
|
||||
|
||||
Reference in New Issue
Block a user