Fixed potential endless loop while searching for resources (github issue #10).
Fixed potential endless loop while searching for resources (github issue #10).

jorik041/MemoryModule,code4bones/MemoryModule,code4bones/MemoryModule,juampatronics/MemoryModule,PerditionC/MemoryModule,PerditionC/MemoryModule,zdzhjx/MemoryModule,capturePointer/MemoryModule,juampatronics/MemoryModule,fancycode/MemoryModule,capturePointer/MemoryModule,capturePointer/MemoryModule,jorik041/MemoryModule,PerditionC/MemoryModule,fancycode/MemoryModule,zdzhjx/MemoryModule,code4bones/MemoryModule,fancycode/MemoryModule,zdzhjx/MemoryModule