mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Fix a mistake in ItemFrame
thanks @awzaw
This commit is contained in:
parent
f4065dd411
commit
669af6f7b3
@ -53,9 +53,9 @@ class ItemFrame extends Flowable{
|
||||
if(!(($tile = $this->level->getTile($this)) instanceof TileItemFrame)){
|
||||
$nbt = new CompoundTag("", [
|
||||
new StringTag("id", Tile::ITEM_FRAME),
|
||||
new IntTag("x", $block->x),
|
||||
new IntTag("y", $block->y),
|
||||
new IntTag("z", $block->z),
|
||||
new IntTag("x", $this->x),
|
||||
new IntTag("y", $this->y),
|
||||
new IntTag("z", $this->z),
|
||||
new FloatTag("ItemDropChance", 1.0),
|
||||
new ByteTag("ItemRotation", 0)
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user