Skip to content

Commit b521d0d

Browse files
committed
fix itemNoClip logger noise on removed entity
1 parent d61b027 commit b521d0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

patches/net/minecraft/entity/item/EntityItem.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
this.noClip = this.pushOutOfBlocks(this.posX, (this.getBoundingBox().minY + this.getBoundingBox().maxY) / 2.0D, this.posZ);
6262
+
6363
+ // TISCM itemNoClip logger
64-
+ if (!wasNoClip && this.noClip)
64+
+ if (!this.removed && !wasNoClip && this.noClip)
6565
+ {
6666
+ ItemNoClipLogger.getInstance().onItemBecomeNoClip(this);
6767
+ }

0 commit comments

Comments
 (0)