mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Painting: polyfill height and width
This commit is contained in:
parent
5f52e00213
commit
05a1e61e5b
@ -44,6 +44,12 @@ class Painting extends Entity{
|
||||
/** @var float */
|
||||
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 */
|
||||
protected $blockIn;
|
||||
/** @var int */
|
||||
|
Loading…
x
Reference in New Issue
Block a user