mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 04:05:31 +00:00
Fixed gh#332
Crafting with buckets (milk) returns the bucket
This commit is contained in:
parent
c798a33363
commit
0d25118eef
@ -842,7 +842,7 @@ class Player{
|
|||||||
AchievementAPI::grantAchievement($this, "diamond");
|
AchievementAPI::grantAchievement($this, "diamond");
|
||||||
break;
|
break;
|
||||||
case CAKE:
|
case CAKE:
|
||||||
if($this->hasSpace(AIR, 0, 3) == true){
|
if($this->hasSpace(AIR, 0, 0) == true){
|
||||||
$this->addItem(BUCKET, 0, 3, false);
|
$this->addItem(BUCKET, 0, 3, false);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user