Closed Maeyanie closed 13 years ago
I had to do this as well. Doesn't work without it.
I don't think I could get iConomy6 to load at all on my server :P
It is a work in progress :P
It is, but at least this gets it working in Register. Which should really be done as early as possible so those plugins claiming iCo6 support actually have it.
That makes sure it exists.
That's the problem. There is no class named "com.iCo6.IO" in iCo6, so making sure it exists will always fail, even when iCo6 is installed and active.
There is a package by that name with two classes and a few sub-packages. But you can't instantiate a package, so can't check if it exists like that.
So, for Register iCo6 support to actually function, this check has to be either changed to an actual class (like com.iCo6.IO.Database) or removed and let the next line take care of it.
But I can't re-open this, and you probably won't bother reading a closed pull request, so I guess you'll have to discover that on your own. :)
well, he pulled my version, and I implemented this, so in a sense, he pulled this :P.
Long as it works, good enough for me. Thanks. :)
com.iCo6.IO is a package, not a class, so trying to create one will always fail.
Not sure what that's trying to do anyhow... certainly the next line does the check fine.