mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Fixed blocks being placed on beds during day
This commit is contained in:
parent
3fe3aa2a62
commit
724d336853
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class BedBlock extends TransparentBlock{
|
||||||
$player->dataPacket(MC_CLIENT_MESSAGE, array(
|
$player->dataPacket(MC_CLIENT_MESSAGE, array(
|
||||||
"message" => "You can only sleep at night."
|
"message" => "You can only sleep at night."
|
||||||
));
|
));
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
$player->sleepOn($this);
|
$player->sleepOn($this);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue