80O / PlusEMU

37 stars 27 forks source link

Broken Interaction: Pinata #136

Open harb00 opened 1 year ago

harb00 commented 1 year ago

Describe the bug When you click on it you'll disconnect

To Reproduce Steps to reproduce the behavior:

  1. Buy one of the Piñata crackables
  2. Make sure it has the crackable_egg interaction
  3. Place it
  4. Disconnect
  5. See the browser error

Expected behavior You're supposed to be clicking/hitting it with the 158 enable and get PinataWhacker for whacking it and PinataBreaker for breaking it

Screenshots picture

Browser Console Error

TypeError: crackableHits is undefined
InfoStandWidgetFurniView
nitro-react/src/components/room/widgets/avatar-info/infostand/InfoStandWidgetFurniView.tsx:322

  319 | { isCrackable &&
  320 |     <>
  321 |         <hr className="m-0" />
> 322 |         <Text variant="white" small wrap>{ LocalizeText('infostand.crackable_furni.hits_remaining', [ 'hits', 'target' ], [ crackableHits.toString(), crackableTarget.toString() ]) }</Text>
      | ^  323 |     </> }
  324 | { avatarInfo.groupId > 0 &&
  325 |     <>

Emulator Error If the bug is related to an exception thrown, paste the possible related exceptions.

80O commented 1 year ago

Did you set it to interaction crackable_egg?

harb00 commented 1 year ago

Actually it was set to default but setting it to crackable_egg resulted in the same error.