From 4cbf0444df4b4c0eb3616e19279203e5f17a939b Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 1 Aug 2009 14:26:00 +0000 Subject: * Tweak the caps manager so that the NPCAvatar works again. --- OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 3 ++- OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/OptionalModules/World/NPC') diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 2102db9..4a8ba8c 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs @@ -1044,7 +1044,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC public bool AddGenericPacketHandler(string MethodName, GenericMessage handler) { - throw new NotImplementedException(); + //throw new NotImplementedException(); + return false; } public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name) diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index 8b45788..8c9717c 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs @@ -42,8 +42,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC // { // NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new Vector3(128, 128, 40), scene); // NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new Vector3(136, 128, 40), scene); - // scene.AddNewClient(testAvatar, false); - // scene.AddNewClient(testAvatar2, false); + // scene.AddNewClient(testAvatar); + // scene.AddNewClient(testAvatar2); // } } -- cgit v1.1