Skip to content

Commit

Permalink
added gametick display in /log projectile brief
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Apr 15, 2020
1 parent 94a7c90 commit c9c61ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{
+ // ----- Carpet Start ----- //
+ if (LoggerRegistry.__fallingBlocks && logHelper != null)
+ logHelper.onTick(posX, posY, posZ, motionX, motionY, motionZ);
+ logHelper.onTick(posX, posY, posZ, motionX, motionY, motionZ, this.world.getGameTime());
+ // ----- Carpet End ----- //
+
if (this.fallTile.isAir())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
+ /// ----- Carpet Start ----- //
+ if (LoggerRegistry.__projectiles && logHelper != null)
+ {
+ logHelper.onTick(posX, posY, posZ, motionX, motionY, motionZ);
+ logHelper.onTick(posX, posY, posZ, motionX, motionY, motionZ, this.world.getGameTime());
+ }
+ // ----- Carpet End ----- //
this.setPosition(this.posX, this.posY, this.posZ);
Expand Down

0 comments on commit c9c61ea

Please sign in to comment.