Changed holo-emote script checks, fixed playerobject version, fixed hair check

This commit is contained in:
Waverunner
2014-03-27 18:08:04 -04:00
parent b2fc43efa2
commit 1ec8471b32
4 changed files with 14 additions and 10 deletions
+2 -3
View File
@@ -872,10 +872,9 @@ public class EntertainmentService implements INetworkDispatch {
private void handleImageDesign(CreatureObject designer, CreatureObject designTarget, Vector<IDAttribute> colorAttributes, Vector<IDAttribute> bodyAttributes, String hairTemplate, String holoEmote) {
if(!hairTemplate.startsWith("object/tangible/hair/")) return;
if (hairTemplate != null && !hairTemplate.equals("")) {
System.out.println(hairTemplate);
if(!hairTemplate.startsWith("object/tangible/hair/"))
return;
String sharedHairTemplate = hairTemplate.replace("/hair_", "/shared_hair_");
TangibleObject hairObject = (TangibleObject) core.objectService.createObject(sharedHairTemplate, designTarget.getPlanet());