Open kinect3000 opened 9 years ago
The code doesn't actually work u wanna fix lol
i did some research and found out how to fix the error. Just add -- $new_array = array('1'); -- at line 71 and move everything else down. (This just makes sure the error doesn't appear, but when executed, it will be an "Unknown" command. http://stackoverflow.com/questions/6549561/notice-undefined-offset-0-in
It doesn't say "Usage: /skywars < play | exit >" when I do "/skywars" I get -- 06:48:38 [CRITICAL] Unhandled exception executing command 'skywars' in skywars: Undefined offset: 0 06:48:38 [NOTICE] ArrayOutOfBoundsException: "Undefined offset: 0" (E_NOTICE) in "/SkywarsPe-master/src/SkyWarsPE/Main" at line 71 -- only get the Usage message by "/skywars help"