Add bed too far message

This commit is contained in:
Johnmacrocraft 2017-11-18 08:28:07 +09:00 committed by Dylan K. Taylor
parent 8abad33048
commit 3a80ec4db8

View File

@ -142,7 +142,7 @@ class Bed extends Transparent{
return true;
}elseif($player->distanceSquared($this) > 4 and $player->distanceSquared($other) > 4){
//MCPE doesn't have messages for bed too far away
$player->sendMessage(new TranslationContainer(TextFormat::GRAY . "%tile.bed.tooFar"));
return true;
}