@@ -80,7 +80,7 @@ public Association findAssociation(AssociationPool associations, LivingEntity pl
80
80
81
81
// we discard the normal block association, and mark the foliage as detected
82
82
if (foliage .isEmitter () && engine .getIsolator ().blocks ().getAssociation (above , Substrates .MESSY ) == SoundsKey .MESSY_GROUND ) {
83
- return Association .of (above , pos , ply , SoundsKey .NON_EMITTER , SoundsKey .NON_EMITTER , foliage );
83
+ return Association .of (above , pos , ply , false , SoundsKey .NON_EMITTER , SoundsKey .NON_EMITTER , foliage );
84
84
}
85
85
86
86
return Association .NOT_EMITTER ;
@@ -211,9 +211,9 @@ private Association findAssociation(AssociationPool associations, LivingEntity p
211
211
212
212
if (state .isLiquid ()) {
213
213
if (state .getFluidState ().isIn (FluidTags .LAVA )) {
214
- return Association .of (state , pos .down (), player , SoundsKey .LAVAFINE , SoundsKey .NON_EMITTER , SoundsKey .NON_EMITTER );
214
+ return Association .of (state , pos .down (), player , false , SoundsKey .LAVAFINE , SoundsKey .NON_EMITTER , SoundsKey .NON_EMITTER );
215
215
}
216
- return Association .of (state , pos .down (), player , SoundsKey .WATERFINE , SoundsKey .NON_EMITTER , SoundsKey .NON_EMITTER );
216
+ return Association .of (state , pos .down (), player , false , SoundsKey .WATERFINE , SoundsKey .NON_EMITTER , SoundsKey .NON_EMITTER );
217
217
}
218
218
219
219
return association ;
@@ -291,6 +291,6 @@ private Association findAssociation(AssociationPool associations, LivingEntity e
291
291
wetAssociation = associations .get (pos , target , Substrates .WET );
292
292
}
293
293
294
- return Association .of (target , pos , entity , association , wetAssociation , foliage );
294
+ return Association .of (target , pos , entity , associations . wasLastMatchGolem () && entity . isOnGround (), association , wetAssociation , foliage );
295
295
}
296
296
}
0 commit comments