Page 1 of 1

RecipeController.java issue?

Posted: Sun May 19, 2013 5:59 pm
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