Skip to content

Commit

Permalink
Merge pull request #4 from NhanAZ/master
Browse files Browse the repository at this point in the history
Support API 4.3.0
  • Loading branch information
ipad54 authored Apr 23, 2022
2 parents e75e7f5 + 9207ca5 commit e83f365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Composter
main: ipad54\composter\Main
api: 4.0.0
api: 4.3.0
version: 1.0
author: ipad54
1 change: 1 addition & 0 deletions src/ipad54/composter/block/Composter.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ private function spawnParticleEffect(Vector3 $position): void
$packet = new SpawnParticleEffectPacket();
$packet->position = $position;
$packet->particleName = "minecraft:crop_growth_emitter";
$packet->molangVariablesJson = "";
$recipients = $this->position->getWorld()->getViewersForPosition($this->position);
foreach($recipients as $player){
$player->getNetworkSession()->sendDataPacket($packet);
Expand Down

0 comments on commit e83f365

Please sign in to comment.