fix melon and pumpkin seeds being peaceable on more than just farmland (#5980)

This commit is contained in:
bl4ckscor3 2019-07-31 01:35:23 +02:00 committed by LexManos
parent 995a8b8d35
commit 61285a098a
1 changed files with 11 additions and 0 deletions

View File

@ -30,3 +30,14 @@
}
}
@@ -101,4 +103,10 @@
public StemGrownBlock func_208486_d() {
return this.field_149877_a;
}
+
+ //FORGE START
+ @Override
+ public net.minecraftforge.common.PlantType getPlantType(IBlockReader world, BlockPos pos) {
+ return net.minecraftforge.common.PlantType.Crop;
+ }
}