Skip to content

Commit

Permalink
Bump version to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed May 10, 2020
1 parent 438c9cc commit 0e4ccf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: PiggyFactions
main: DaPigGuy\PiggyFactions\PiggyFactions
version: 1.0.2
version: 1.0.3
api: 3.2.0
author: DaPigGuy
softdepend: [PiggyCustomEnchants]
Expand Down
1 change: 0 additions & 1 deletion src/DaPigGuy/PiggyFactions/EventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ public function onJoin(PlayerJoinEvent $event): void

public function onRespawn(PlayerRespawnEvent $event): void
{

$player = $event->getPlayer();
$faction = PlayerManager::getInstance()->getPlayerFaction($player->getUniqueId());
if ($this->plugin->getConfig()->getNested("factions.homes.teleport-on-death") && $faction !== null && $faction->getHome() !== null) {
Expand Down

0 comments on commit 0e4ccf7

Please sign in to comment.