mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Merge branch 'master' of https://github.com/PocketMine/PocketMine-MP
This commit is contained in:
commit
3352c36ba4
3 changed files with 76 additions and 5 deletions
|
|
@ -802,6 +802,7 @@ class Player{
|
|||
}
|
||||
|
||||
if(is_array($res)){
|
||||
|
||||
if($this->server->api->dhandle("player.craft", array("player" => $this, "recipe" => $recipe, "craft" => $craft, "type" => $type)) === false){
|
||||
return false;
|
||||
}
|
||||
|
|
@ -851,6 +852,9 @@ class Player{
|
|||
case DIAMOND:
|
||||
AchievementAPI::grantAchievement($this, "diamond");
|
||||
break;
|
||||
case CAKE:
|
||||
$this->addItem(BUCKET, 0, 3, false);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1852,7 +1856,7 @@ class Player{
|
|||
$items = array(
|
||||
APPLE => 2,
|
||||
MUSHROOM_STEW => 10,
|
||||
//BEETROOT_SOUP => ??,
|
||||
BEETROOT_SOUP => 10,
|
||||
BREAD => 5,
|
||||
RAW_PORKCHOP => 3,
|
||||
COOKED_PORKCHOP => 8,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue