mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fixed player posiiton on bed, hopefully fixed players not receiving packets sometimes
This commit is contained in:
parent
f93aa2601a
commit
4c072e91cd
4 changed files with 19 additions and 9 deletions
|
|
@ -14,6 +14,8 @@ class BedBlock extends TransparentBlock{
|
|||
[0, -1],
|
||||
[1, 0]
|
||||
];
|
||||
const PLAYER_BED_OFFS_X = [0.5, 0.1, 0.5, 0.9];
|
||||
const PLAYER_BED_OFFS_Z = [0.9, 0.5, 0.1, 0.5];
|
||||
public function __construct($type = 0){
|
||||
parent::__construct(BED_BLOCK, $type, "Bed Block");
|
||||
$this->isActivable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue