Rystic / clay

A small game I'm making with LWJGL.
0 stars 0 forks source link

Concurrent Modification Exception on _unassignedBehaviors. #60

Closed Rystic closed 10 years ago

Rystic commented 10 years ago

GolemBehaviorProcess threw a ConcurrentModificationException. Likely the EventBus modified this list the same time GBP was executing behavior.

Rystic commented 10 years ago

Inactive golems was made volatile. This has resolved the issue, but might need to be optimized later.