Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
Some quick grammar corrections
Browse files Browse the repository at this point in the history
Just a few comment corrections.  No functional changes.
  • Loading branch information
95CivicSi committed Oct 16, 2017
1 parent 5a1aa18 commit 1805209
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public function spawn(Position $pos, Player $player): bool {
!$block->isTransparent() and // and only on opaque blocks
$this->spawnAllowedByEntityCount($pos->getLevel()) and // respect count in level
$this->checkPlayerDistance($player, $pos) and // distance to player has to be at least a configurable amount of blocks (atm 8!)
$this->isEnoughAirAbovePosition($pos)
) { // check if there is at least 2 blocks of air above the spawn position
$this->isEnoughAirAbovePosition($pos) // check if there is at least 2 blocks of air above the spawn position
) {
$this->spawnEntityToLevel($pos, $this->getEntityNetworkId(), $pos->getLevel(), "Animal");
PureEntities::logOutput($this->getClassNameShort() . ": scheduleCreatureSpawn (pos: $pos)", PureEntities::NORM);
return true;
Expand All @@ -76,7 +76,7 @@ protected function getEntityName(): string {
// ---- sheep spawner specific methods ----

/**
* Checks if there is at least 2 blocks of AIR above the position to spawn the pig to
* Checks if there is at least 2 blocks of AIR above the position to spawn the entity to
*
* @param Position $pos
* @return bool
Expand Down

0 comments on commit 1805209

Please sign in to comment.