mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 08:29:35 +00:00
1.5.13
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
package net.momirealms.customcrops.datamanager;
|
||||
|
||||
import dev.lone.itemsadder.api.CustomBlock;
|
||||
import dev.lone.itemsadder.api.CustomStack;
|
||||
import net.momirealms.customcrops.fertilizer.QualityCrop;
|
||||
import net.momirealms.customcrops.utils.AdventureManager;
|
||||
import net.momirealms.customcrops.ConfigReader;
|
||||
|
||||
@@ -89,6 +89,9 @@ public class RightClick implements Listener {
|
||||
for (Integration integration : ConfigReader.Config.integration){
|
||||
if(!integration.canPlace(location, player)) return;
|
||||
}
|
||||
if(IAFurniture.getFromLocation(location.clone().add(0.5, 0.5, 0.5), location.getWorld())){
|
||||
return;
|
||||
}
|
||||
CropInstance cropInstance = crop.get();
|
||||
PlantingCondition plantingCondition = new PlantingCondition(player, location);
|
||||
if (cropInstance.getRequirements() != null){
|
||||
|
||||
Reference in New Issue
Block a user