Merge branch 'Uristqwerty-master'

This commit is contained in:
Christian 2012-12-25 22:11:42 -05:00
commit da1679a061

View file

@ -185,6 +185,11 @@ public class ListenerList
*/ */
private void buildCache() private void buildCache()
{ {
if(parent != null && parent.shouldRebuild())
{
parent.buildCache();
}
ArrayList<IEventListener> ret = new ArrayList<IEventListener>(); ArrayList<IEventListener> ret = new ArrayList<IEventListener>();
for (EventPriority value : EventPriority.values()) for (EventPriority value : EventPriority.values())
{ {