markhughes / FactionsFramework

Build a Factions plugin for every version of Factions and not have to worry about version upgrades and changes.
GNU General Public License v3.0
5 stars 3 forks source link

Faction create error #14

Closed tehrenderr closed 8 years ago

tehrenderr commented 8 years ago

I keep getting this error using factions framework

http://pastebin.com/PGk1Y9Rt

markhughes commented 8 years ago

Please supply more information. I am unable to help you if you do not supply information that describes your environment.

tehrenderr commented 8 years ago

I am using 1.8.8 paperspigot and factions and massivecore v2.7.5

markhughes commented 8 years ago

Are you still using a custom build of Factions and MassiveCore?

markhughes commented 8 years ago

As I have said before custom builds are not supported. There is something different that is triggering FactionsFramework to think it is a different version.

Your developer will need to override the events layer:

EventsLayer.overrideEventsLayer(
    (Handler) Class.forName("me.markeh.factionsframework.layer.layer_2_7.Events_2_7").newInstance()
);

and the same for command manager as it is different too:

FactionsCommandManager.overrideEventsLayer(
    (Handler) Class.forName("me.markeh.factionsframework.layer.layer_2_7.CommandManager_2_7").newInstance();
);

Please be careful with custom builds and always consider making add-ons to preserve compatibility. These can cause a lot of issues.