diff --git a/src/pocketmine/PocketMine.php b/src/pocketmine/PocketMine.php index f5e70a574..b1a35bab5 100644 --- a/src/pocketmine/PocketMine.php +++ b/src/pocketmine/PocketMine.php @@ -75,8 +75,8 @@ namespace pocketmine { const VERSION = "1.6dev"; const API_VERSION = "1.13.1"; const CODENAME = "[REDACTED]"; - const MINECRAFT_VERSION = "v0.13.1 alpha"; - const MINECRAFT_VERSION_NETWORK = "0.13.1"; + const MINECRAFT_VERSION = "v0.13.2 alpha"; + const MINECRAFT_VERSION_NETWORK = "0.13.2"; /* * Startup code. Do not look at it, it may harm you. diff --git a/src/pocketmine/block/TallGrass.php b/src/pocketmine/block/TallGrass.php index bce7fef36..c912a0787 100644 --- a/src/pocketmine/block/TallGrass.php +++ b/src/pocketmine/block/TallGrass.php @@ -73,7 +73,9 @@ class TallGrass extends Flowable{ public function getDrops(Item $item){ if(mt_rand(0, 15) === 0){ - return [Item::WHEAT_SEEDS, 0, 1]; + return [ + [Item::WHEAT_SEEDS, 0, 1] + ]; } return []; diff --git a/src/pocketmine/event/player/PlayerBucketEvent.php b/src/pocketmine/event/player/PlayerBucketEvent.php index 48d67db21..f0490b14f 100644 --- a/src/pocketmine/event/player/PlayerBucketEvent.php +++ b/src/pocketmine/event/player/PlayerBucketEvent.php @@ -83,4 +83,11 @@ abstract class PlayerBucketEvent extends PlayerEvent implements Cancellable{ public function getBlockClicked(){ return $this->blockClicked; } -} \ No newline at end of file + + /** + * @return int + */ + public function getBlockFace(){ + return $this->blockFace; + } +} diff --git a/src/pocketmine/network/protocol/Info.php b/src/pocketmine/network/protocol/Info.php index 3f0bdd7d6..9b34b39b3 100644 --- a/src/pocketmine/network/protocol/Info.php +++ b/src/pocketmine/network/protocol/Info.php @@ -30,7 +30,7 @@ interface Info{ /** * Actual Minecraft: PE protocol version */ - const CURRENT_PROTOCOL = 38; + const CURRENT_PROTOCOL = 39; const LOGIN_PACKET = 0x8f; const PLAY_STATUS_PACKET = 0x90;