diff --git a/packages/farm/src/resources/decorators/room.js b/packages/farm/src/resources/decorators/room.js index 1604dbe..31f37d4 100644 --- a/packages/farm/src/resources/decorators/room.js +++ b/packages/farm/src/resources/decorators/room.js @@ -95,12 +95,14 @@ export default (Room) => class FarmableRoom extends Room { return DIRT === tiles.tileAt(target); } - maySowAt(target) { + maySowAt(center) { const [tiles] = this.tiles; + const {tileSize} = tiles; + const target = Vector.floor(Vector.div(center, tileSize)); return ( 'client' !== process.env.SIDE && TILLED === tiles.tileAt(target) - && !this.isPlantAt(target) + && !this.isPlantAt(center) ); }