fix melon and pumpkin seeds being peaceable on more than just farmland (#5980)
This commit is contained in:
parent
995a8b8d35
commit
61285a098a
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
+ }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue