Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Commit

Permalink
SignWarp-1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroliu committed Jun 7, 2015
1 parent 856e917 commit e51c89c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions SignWarp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ The following sections are defined:
* 1.4.0:
* Clean-up and use library stuff
* Removed broadcast setting
* Translations: Spanish
* 1.3.2: CallbackTask
* Removed CallbackTask deprecation warnings
* 1.3.1: FastTransfer
Expand Down
8 changes: 0 additions & 8 deletions SignWarp/src/aliuly/signwarp/common/MPMU.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,4 @@ static public function iName($player) {
}
return $player;
}

static public function teleport($player, $pos) {
if (!self::apiVersion("1.12.0")) {
$mw = $player->getServer()->getPluginManager()->getPlugin("ManyWorlds");
if ($mw !== null && $mw->isEnabled()) return $mw->mwtp($player,$pos);
}
$player->teleport($pos);
}
}

0 comments on commit e51c89c

Please sign in to comment.