Skip to content

Commit

Permalink
Close #3405
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Feb 12, 2025
1 parent 2dea01e commit ee4fd16
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@
}
} finally {
if (friendlybytebuf != null) {
@@ -2204,7 +_,9 @@
for(ClientboundUpdateAttributesPacket.AttributeSnapshot clientboundupdateattributespacket$attributesnapshot : p_105128_.m_133591_()) {
AttributeInstance attributeinstance = attributemap.m_22146_(clientboundupdateattributespacket$attributesnapshot.m_133601_());
if (attributeinstance == null) {
- f_104883_.warn("Entity {} does not have attribute {}", entity, BuiltInRegistries.f_256951_.m_7981_(clientboundupdateattributespacket$attributesnapshot.m_133601_()));
+ if (Boolean.valueOf(false)) {
+ f_104883_.warn("Entity {} does not have attribute {}", entity, BuiltInRegistries.f_256951_.m_7981_(clientboundupdateattributespacket$attributesnapshot.m_133601_()));
+ }
} else {
attributeinstance.m_22100_(clientboundupdateattributespacket$attributesnapshot.m_133602_());
attributeinstance.m_22132_();
@@ -2399,6 +_,8 @@
}

Expand Down

1 comment on commit ee4fd16

@dsfsdkf
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets go Mgazul keep up the hard work
bro its cooking with these updates fighting all the bugs

Please sign in to comment.