RecipeController.java issue?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
blarke
Posts: 77
Joined: Thu Nov 18, 2010 7:48 am

RecipeController.java issue?

Post by blarke »

I may be a bit ignorant here, but

Code: Select all

if (Config.ALT_GAME_CREATION && (_activeMakers.containsKey(manufacturer.getObjectId()) || manufacturer.isInStoreMode()))
- why is this set like that? The private craft is 5, but isInStoreMode returns TRUE whenever the _privatestore value is > 0.

(Obviously I'm running the server with the ALT_GAME_CREATION flag set.)

I made a temporary change as below -

Code: Select all

if (Config.ALT_GAME_CREATION && (_activeMakers.containsKey(manufacturer.getObjectId()) || (manufacturer.getPrivateStoreType() != 5 && manufacturer.isInStoreMode())))
but I'm concerned if this may result in unforseen bugs. (At least the private manufacturing works now.)

Any help is appreciated.

Cheers
blarke
Post Reply