Instructions Jenkins Doxygen

[Fixed] stability issue - patch by Haton 33/1433/1
authorIvojedi <ivojedi@swgemu.com>
Fri, 28 Feb 2014 22:15:15 +0000 (14:15 -0800)
committerIvojedi <ivojedi@swgemu.com>
Fri, 28 Feb 2014 22:15:15 +0000 (14:15 -0800)
Change-Id: I9c8a1d3548d2bad39da9735557007092aa390e02

MMOCoreORB/src/server/zone/objects/tangible/wearables/WearableObjectImplementation.cpp

index 36a4da8..0bab18f 100644 (file)
@@ -61,7 +61,7 @@ void WearableObjectImplementation::generateSockets(CraftingValues* craftingValue
                        ManagedReference<DraftSchematic*> draftSchematic = manuSchematic->getDraftSchematic();
                        ManagedReference<CreatureObject*> player = manuSchematic->getCrafter();
 
-                       if (player != NULL || draftSchematic != NULL) {
+                       if (player != NULL && draftSchematic != NULL) {
                                String assemblySkill = draftSchematic->getAssemblySkill();
                                skill = player->getSkillMod(assemblySkill) * 2.5; // 0 to 250 max
                                luck = System::random(player->getSkillMod("luck")