public void update(GameContainer container, StateBasedGame sbg, int delta) throws SlickException {
		Input input = container.getInput();
		
		level.updateLevel(delta);
		player.update(container, delta);
		inv.update();
		rain.update(delta);
		
		if (input.isMousePressed(1)) {
			int x = mouse.getBlockX();
			int y = mouse.getBlockY();
			
			//Picks up plant.
			if (level.getTile(x, y) instanceof Seeds) {
				((Seeds) level.getTile(x, y)).pickPlant();
			}
		}
		
        if (input.isKeyDown(Input.KEY_I)) {
			inv.showInventory(true);
		}
		
		if (inv.isSelected()) {
			return; 
		}else{
			mouseX = mouse.getMouseX();
			mouseY = mouse.getMouseY();
			blockX = mouse.getBlockX();
			blockY = mouse.getBlockY();
			basicInv.update();
		}

		
	}