Blood Magic

Blood Magic

90M Downloads

Issue with Loading Building Schematics Folder

FakoTheGreat opened this issue · 6 comments

commented

Playing with Blood Magic 1.7.10(Beta21) on Forge 1208 and I was receiving this error: http://pastebin.com/SeU8yN1Q

The issue arose due to using Google Drive for a pack, which adds a 'desktop.ini' file to every folder that it synchronizes. By deleting the file I was able to load up without issue, but I figured I should provide a report of the situation.

commented

I don't get how this is a thing to be reported?...

commented

cough dir.listFiles(FileFilterUtils.suffixFileFilter(".json"));

commented

@Pokefenn the mod shouldn't be trying to load non .json files as json files? It's a simple fix that would solve a few headaches.

commented

"The method listFiles(FilenameFilter) is ambiguous for the type File"
When L1202 is replaced with:
File[] files = file.listFiles(FileFilterUtils.suffixFileFilter(".json"));

commented

Try casting to FileFilter
On Sep 30, 2014 7:02 AM, "WayofTime" [email protected] wrote:

"The method listFiles(FilenameFilter) is ambiguous for the type File"
When L1202 is replaced with:
File[] files = file.listFiles(FileFilterUtils.suffixFileFilter(".json"));


Reply to this email directly or view it on GitHub
#104 (comment)
.