@ -89,7 +89,7 @@ public class MobEquipment extends AbstractGameObject {
@@ -89,7 +89,7 @@ public class MobEquipment extends AbstractGameObject {
if ( useSlot )
writer . putInt ( mobEquipment . slot . ordinal ( ) ) ;
writer . putInt ( 0 ) ; // Pad
writer . putInt ( mobEquipment . itemBase . getUUID ( ) ) ;
writer . putInt ( mobEquipment . templateID ) ;
writer . putInt ( mobEquipment . getObjectType ( ) . ordinal ( ) ) ;
writer . putInt ( mobEquipment . getObjectUUID ( ) ) ;
@ -156,11 +156,13 @@ public class MobEquipment extends AbstractGameObject {
@@ -156,11 +156,13 @@ public class MobEquipment extends AbstractGameObject {
int cnt = 0 ;
EffectsBase pre = null ;
EffectsBase suf = null ;
if ( mobEquipment . prefix ! = null ) {
pre = PowersManager . getEffectByIDString ( mobEquipment . prefix . getIDString ( ) ) ;
if ( pre ! = null )
cnt + + ;
}
if ( mobEquipment . suffix ! = null ) {
suf = PowersManager . getEffectByIDString ( mobEquipment . suffix . getIDString ( ) ) ;
if ( suf ! = null )