Skip to content

Commit

Permalink
bugfix: Minie issue 36 (logic error in onContactProcessed() )
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 20, 2023
1 parent 0b9159d commit 69cd0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jme3/bullet/PhysicsSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ public void onContactProcessed(PhysicsCollisionObject pcoA,
PhysicsCollisionObject pcoB, long pointId) {
assert NativeLibrary.jniEnvId() == jniEnvId() : "wrong thread";

if (!contactStartedListeners.isEmpty()) {
if (!contactProcessedListeners.isEmpty()) {
PhysicsCollisionEvent event
= new PhysicsCollisionEvent(pcoA, pcoB, pointId);

Expand Down

0 comments on commit 69cd0f1

Please sign in to comment.