Updated engine, added static map locations, added some creature deltas

This commit is contained in:
Light2
2013-07-12 00:41:08 +02:00
parent 1d8c8c0898
commit 551232b442
14 changed files with 239 additions and 70 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ package services;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
import org.apache.mina.core.buffer.SimpleBufferAllocator;
@@ -64,7 +65,7 @@ public class AttributeService implements INetworkDispatch {
if(requester.getClient() == null || requester.getClient().getSession() == null)
return;
AttributeListMessage message = new AttributeListMessage(new HashMap<String, String>(target.getAttributes()), target.getObjectID(), bufferPool);
AttributeListMessage message = new AttributeListMessage(target, bufferPool);
requester.getClient().getSession().write(message.serialize());
}