mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Painting: polyfill height and width
This commit is contained in:
@ -44,6 +44,12 @@ class Painting extends Entity{
|
|||||||
/** @var float */
|
/** @var float */
|
||||||
protected $drag = 1.0;
|
protected $drag = 1.0;
|
||||||
|
|
||||||
|
//these aren't accurate, but it doesn't matter since they aren't used (vanilla PC does something similar)
|
||||||
|
/** @var float */
|
||||||
|
public $height = 0.5;
|
||||||
|
/** @var float */
|
||||||
|
public $width = 0.5;
|
||||||
|
|
||||||
/** @var Vector3 */
|
/** @var Vector3 */
|
||||||
protected $blockIn;
|
protected $blockIn;
|
||||||
/** @var int */
|
/** @var int */
|
||||||
|
Reference in New Issue
Block a user